/* General Styling */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* Global Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
    background: linear-gradient(to bottom, #ffffff, #e8e8f0);
}

header {
    background: #151B54;
    color: white;
    padding: 2rem 2rem;
    text-align: justify;
    transition: background 0.5s ease;
    margin-top: 5%;
    text-align: center;
}

header:hover {
    background: #121744;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
    animation: fadeInDown 1s ease;
}

header p {
    margin: 0;
    font-size: 1.2rem;
    animation: fadeInUp 1s ease;
    text-align: justify;
}



section {
    margin-bottom: 2rem;
}
#why-sood-infra {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f0f4ff, #ffffff);
    text-align: center;
}

#why-sood-infra h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 40px;
    color: #333;
    animation: fadeInDown 1s ease-in-out;
}

/* Card Container */
.why-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Individual Card */
.card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: calc(50% - 10px);
    /* Adjusts for desktop/tablet */
    max-width: 400px;
    padding: 20px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.5s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.card h3 {
    font-size: 1.5rem;
    color: #151B54;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.card:hover h3 {
    color: #000000;
}

.card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    text-align: justify;
}

/* Keyframes for Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .card {
        width: 100%;
        /* Take full width for smaller screens */
        max-width: none;
    }

    #why-sood-infra h2 {
        font-size: 2rem;
        /* Adjust header size */
     
    }

    .card h3 {
        font-size: 1.25rem;
        /* Adjust card title size */
    }

    .card p {
        font-size: 0.95rem;
        /* Adjust paragraph size for readability */
    }
}

@media (max-width: 480px) {
    #why-sood-infra {
        padding: 40px 10px;
        /* Reduce padding for small screens */
    }

    #why-sood-infra h2 {
        font-size: 1.8rem;
        /* Further reduce header size */
    }

    .card {
        padding: 15px;
        /* Reduce padding in cards */
    }

    .card h3 {
        font-size: 1.1rem;
        /* Adjust title size for smaller screens */
    }

    .card p {
        font-size: 0.9rem;
        /* Further adjust paragraph size */
    }
}
#what-we-look-for {
    padding: 60px 20px;
    background: linear-gradient(135deg, #ffffff, #f9f9f9);
    text-align: center;
}

#what-we-look-for h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 40px;
    color: #222;
    animation: fadeInDown 1s ease-in-out;
}

.qualities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;
}

.quality {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    text-align: justify;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.5s ease;
}

.quality:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.quality i {
    font-size: 2.5rem;
    color: #151B54;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.quality:hover i {
    color: #151B54;
}

.quality h3 {
    font-size: 1.5rem;
    color: #151B54;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.quality:hover h3 {
    color: #000000;
}

.quality p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

#open-positions {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f9f9f9, #ffffff);
    text-align: center;
}

#open-positions h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 40px;
    color: #222;
    animation: fadeInDown 1s ease-in-out;
}

.positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;
}

.position-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.5s ease;
}

.position-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.position-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #000000, #151B54);
    transition: transform 0.3s ease;
    transform: scaleX(0);
    transform-origin: left;
}

.position-card:hover:before {
    transform: scaleX(1);
}

.position-card h3 {
    font-size: 1.5rem;
    color: #151B54;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.position-card:hover h3 {
    color: #000000;
}

.position-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .positions-grid {
        grid-template-columns: 1fr;
    }
}

/* Application Form */
#application-form {
    padding: 60px 20px;
    background: #f8f8f8;
    text-align: center;
}

#application-form h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #121744;
}

#application-form p {
    text-align: justify;
    color: #333;
}

.google-form-btn {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(145deg, #121744, #1e1e56);
    color: white;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(18, 23, 68, 0.3), 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.google-form-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: skewX(-45deg);
    transition: all 0.5s ease;
}

.google-form-btn:hover::before {
    left: 120%;
}

.google-form-btn:hover {
    background: linear-gradient(145deg, #1a1a5a, #2a2a80);
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(18, 23, 68, 0.4), 0 6px 12px rgba(0, 0, 0, 0.15);
}