

/*----------------------------------------HOME PAGE---------------------------------------------------*/

/*--------------Header video section-----------------*/

/* Fade In & Slide Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Full-Width Video Section */
.video-section {
    position: relative;
    width: 100vw;
    height: 90vh;
    overflow: hidden;
    z-index: 0;

    margin-top:-15px;
}

/* Background Video */
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Video Overlay */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Black with 50% opacity */
}

/* Centered Text & Button */
.video-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 90%;
    max-width: 800px;
}

/* Heading & Paragraph */
.video-content h1 {
    font-size: 6rem;
    margin-bottom: 15px;
    font-family: var(  --font-main-heading);
    color:var(--red);
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.video-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-family: var( --font-primary);
    opacity: 0;
    animation: fadeInUp 1.2s ease-out forwards;
    animation-delay: 0.3s;
}
/* Button */
.explore-btn {
    background: transparent;
    color: #d1d1d1; /* Adjusted to match the light gray text */
    border: 2px solid #d1d1d1; /* Light gray border */
    padding: 10px 24px;
    font-size: 18px;
   cursor: poiter;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: bold;
    opacity: 0;
    animation: fadeInUp 1.4s ease-out forwards;
    animation-delay: 0.6s;
}
/* Hover Effect */
.explore-btn:hover {
    background: rgba(255, 255, 255, 0.1); /* Subtle white overlay */
    color: var(--purple);
    border-color: var(--purple);
}


/* Tablets & Small Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
    .video-content h1 {
        font-size: 4rem;
    }
    .video-content p {
        font-size: 1.2rem;
    }
    .explore-btn {
        padding: 8px 20px;
        font-size: 16px;
    }
}

/* Tablets (max-width: 768px) */
@media (max-width: 768px) {
    .video-content h1 {
        font-size: 3rem;
    }
    .video-content p {
        font-size: 1rem;
    }
    .explore-btn {
        padding: 8px 18px;
        font-size: 15px;
    }
}

/* Small Screens (min-width: 425px and max-width: 690px) */
@media (min-width: 425px) and (max-width: 690px) {
    .video-section{
height:70vh;
    }
    .video-content h1 {
        font-size: 2.5rem;
    }
    .video-content p {
        font-size: 1rem;
    }
    .explore-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
}

/* Extra Small Screens (min-width: 315px and max-width: 430px) */
@media (min-width: 315px) and (max-width: 430px) {
    .video-section{
        height:70vh;
            }
    .video-content h1 {
        font-size: 2rem;
    }
    .video-content p {
        font-size: 0.9rem;
    }
    .explore-btn {
        padding: 6px 14px;
        font-size: 13px;
    }
}

/*-----------------------Header viddeo section end-------------------------*/

/*------------------------Welcome Section-------------------------*/

.welcome-section {
    width: 100%;
    height: 300px; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: url('../assets/backgrounds/welcome-bg.png') no-repeat center;
    background-size: contain; /* Keeps the pattern within limits */
    font-family:  var( --font-primary);
}

.welcome-content {
    position: absolute;
    color: black;
    font-size: 2rem;
    font-weight: bold;
    max-width: 80%;
    animation: fadeInUp 1.5s ease-out forwards;

}

.subheading {
    font-size: 1.4rem;
    color: #1E1E6D;
    font-weight: bold;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

 /* Responsiveness */

 @media (max-width: 2560px) {
    .welcome-section {
        height: 450px;
        background-size: 70%;
    }
    .welcome-content {
        font-size: 2.5rem;
    }
}

@media (max-width: 1024px) {
    .welcome-section {
        height: 400px;
        background-size: 80%;
    }
    .welcome-content {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .welcome-section {
        height: 350px;
        background-size: 90%;
    }
    .welcome-content {
        font-size: 1.7rem;
        max-width: 90%;
    }
}

@media (min-width: 425px) and (max-width: 690px) {
    .welcome-section {
        height: 300px;
        background-size: 100%;
    }
    .welcome-content {
        font-size: 1.5rem;
    }
}

@media (min-width: 315px) and (max-width: 430px) {
    .welcome-section {
        height: 280px;
        background-size: 110%;
    }
    .welcome-content {
        font-size: 1.3rem;
    }
}
/*------------------------Welcome Section END-------------------------*/

/*--------------------------------------Values Section----------------------------------------*/

.values-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
}

.values-container {
    display: flex;
    justify-content: space-between;
    width: 80%;
    max-width: 1200px;
}

.value-item {
    text-align: center;
    flex: 1;
    padding: 0 20px;
    position: relative;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-in-out forwards;
}

.value-item img {
    width: 90px;
    height: auto;
    margin-bottom: 10px;
    align-items: center;
    margin-left:40px;
}



.value-item h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: black;
}

.divider {
    height: 70px;
    width: 1px;
    background-color:var(--light-grey);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.value-item:last-child .divider {
    display: none;
}
/* ===== RESPONSIVE DESIGN ===== */

/* Large screens up to 2560px */
@media screen and (max-width: 2560px) {
    .values-container {
        max-width: 1400px;
        gap: 50px;
    }
}

/* Tablets and small desktops up to 1024px */
@media screen and (max-width: 1024px) {
    .values-container {
        width: 90%;
    }

    .value-item {
        padding: 0 15px;
    }

    .value-item img {
        width: 80px;
    }

    .value-item h3 {
        font-size: 1rem;
    }
}

/* Tablets up to 768px */
@media screen and (max-width: 768px) {
    .values-container {
        width: 95%;
    }

    .value-item {
        padding: 0 10px;
    }

    .value-item img {
        width: 70px;
    }

    .value-item h3 {
        font-size: 0.95rem;
    }
}

/* Small tablets and large phones (425px - 690px) - SWITCH TO COLUMN */
@media screen and (min-width: 425px) and (max-width: 690px) {
    .values-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 90%;
    }

    .value-item {
        width: 100%;
        padding: 20px 0;
    }

    .value-item img {
        width: 65px;
        margin-bottom: 5px;
    }

    .value-item h3 {
        font-size: 1rem;
    }

    /* Remove dividers in column layout */
    .divider {
        display: none;
    }
}

/* Small phones (315px - 430px) - KEEP COLUMN LAYOUT */
@media screen and (min-width: 315px) and (max-width: 430px) {
    .values-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 95%;
    }

    .value-item {
        width: 100%;
        padding: 15px 0;
    }

    .value-item img {
        width: 60px;
    }

    .value-item h3 {
        font-size: 0.9rem;
    }

    /* Remove dividers in column layout */
    .divider {
        display: none;
    }
}

/*---------------------------------Values Section END------------------------------*/

/*---------------------------------Info Section------------------------------*/
.info-container {
    display: flex;
    align-items: center;
    max-width: 900px;
    margin: 20px;
    animation: fadeIn 1s ease-in-out;
    gap: 40px; /* Keeps space between text and image */
}

.info-image {
    flex: 0.9; /* Makes image section smaller */
    margin-left: 15vw; /* Adjusted margin to keep things centered */
    overflow: hidden;
    border-radius: 10px;
}

.info-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.info-image img:hover {
    transform: scale(1.05);
}

.info-text {
    flex: 1.3; /* Makes text section wider */
    font-family: var(--font-sub-heading);
    margin-right: 10px;
}

.info-text h2 {
    color: var(--red);
    font-weight: 600;
    font-style: normal;
    transition: color 0.3s;
}

.info-text p {
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    color: #333;
    line-height: 1.6;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ===== Responsive Design ===== */

/* Screens up to 2560px */
@media screen and (max-width: 2560px) {
    .info-container {
        max-width: 1200px;
        gap: 50px;
    }
}

/* Screens up to 1024px (Tablets & Small Laptops) */
@media screen and (max-width: 1024px) {
    .info-container {
        max-width: 90%;
        /* flex-direction: column; */
        text-align: left;
        gap: 30px;
    }

    .info-image {
        margin-left: 0;
        width: 60%;
    }

    .info-text {
        margin-right: 0;
        width: 70%;
    }
}

/* Screens up to 768px (Tablets) */
@media screen and (max-width: 768px) {
    .info-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .info-image {
        margin-left: 0;
        width: 50%;
    }

    .info-text {
        width: 70%;
    }
}

/* Screens between 425px and 690px (Small Tablets & Large Phones) */
@media screen and (min-width: 425px) and (max-width: 690px) {
    .info-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .info-image {
        width: 90%;
    }

    .info-text {
        width: 90%;
    }
}

/* Screens between 315px and 430px (Small Phones) */
@media screen and (min-width: 315px) and (max-width: 430px) {
    .info-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .info-image {
        width: 95%;
    }

    .info-text {
        width: 95%;
    }

    .info-text p {
        font-size: 13px;
        line-height: 1.4;
    }
}
/*----------------------------Info Section END------------------------------------*/
/*----------------------------News Letter Section------------------------------------*/

.newsletter-section {
    text-align: center;
    padding: 50px 20px;
}

.newsletter-section h2 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #222278;
    margin-bottom: 10px;
}

.newsletter-section p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #222278;
    border-radius: 50px;
    max-width: 600px;
    margin: auto;
    padding: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 50px;
    background: transparent;
    color: white;
    font-size: 1rem;
    outline: none;
}

.newsletter-form input::placeholder {
    color: white;
    opacity: 0.7;
}

.newsletter-form button {
    background-color: white;
    color: #222278;
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
}

.newsletter-form button:hover {
    background-color: #e6e6e6;
}


/* Responsive styles */

@media (max-width: 1024px) {
    .newsletter-section {
        padding: 40px 15px;
    }
    .newsletter-section h2 {
        font-size: 1.6rem;
    }
    .newsletter-form {
        max-width: 500px;
        padding: 8px;
    }
}

@media (max-width: 768px) {
    .newsletter-section {
        padding: 30px 10px;
    }
    .newsletter-section h2 {
        font-size: 1.4rem;
    }
    .newsletter-form {
        /*flex-direction: column;*/
        border-radius: 30px;
        padding: 12px;
    }
    .newsletter-form input {
        width: 100%;
        border-radius: 30px;
        margin-bottom: 10px;
    }
    .newsletter-form button {
        width: 30%;
        border-radius: 30px;
    }
}

@media (min-width: 425px) and (max-width: 690px) {
    .newsletter-section h2 {
        font-size: 1.3rem;
    }
    .newsletter-form {
        max-width: 400px;
    }
    .newsletter-form input,
    .newsletter-form button {
        padding: 12px;
        font-size: 0.9rem;
    }
}

@media (min-width: 315px) and (max-width: 430px) {
    .newsletter-section {
        padding: 20px 10px;
    }
    .newsletter-section h2 {
        font-size: 1.2rem;
    }
    .newsletter-form {
        flex-direction: column;
        max-width: 350px;
        padding: 8px;
    }
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        padding: 10px;
        font-size: 0.85rem;
    }
}
/*----------------------------News Letter Section END------------------------------------*/
/*----------------------------Card Section------------------------------------*/
    .card-container {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
            padding: 20px;
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
        }
        .card-container.visible {
            opacity: 1;
            transform: translateY(0);
        }
        .card-wrapper {
            display: flex;
            flex-direction: column;
            align-items: center;
            max-width: 320px;
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
        }
        .card-wrapper.visible {
            opacity: 1;
            transform: translateY(0);
        }
        .card {
            background: white;
            border-radius: 15px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            text-align: center;
            width: 100%;
            height:300px;
            display: flex;
            flex-direction: column;
            position: relative;
            transition: transform 0.3s ease-in-out;
        }
        .card:hover {
            transform: scale(1.05);
        }
        .card-image {
            position: relative;
            width: 100%;
            height: 200px;
        }
        .card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            border-radius: 15px 15px 0 0;
        }
        .card-overlay {
            position: absolute;
            top: 10px;
            left: 10px;
            right: 10px;
            bottom: 10px;
            background: rgba(0, 0, 0, 0.5);
            border-radius: 15px;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: background 0.3s ease-in-out;
        }
        .card:hover .card-overlay {
            background: rgba(0, 0, 0, 0.7);
        }
        .card-title {
            font-size: 1.5rem;
            font-weight: bold;
            color: white;
            text-align: center;
        }
        .card-content {
            flex: 1;
            padding: 15px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .card p {
            font-size: 1rem;
            color: #333;
            margin: 0;
        }
        .card-button {
            background-color: var(--red);
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 25px;
            font-size: 1rem;
            cursor: pointer;
            margin-top: 20px;
            transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;
        }
        .card-button:hover {
            background-color: var(--purple);
            transform: scale(1.1);
        }
        
        
/* Responsive Styles */
@media (max-width: 2560px) {
    .card-container {
        gap: 30px;
    }
    .card-wrapper {
        max-width: 350px;
    }
}

@media (max-width: 1024px) {
    .card-container {
        gap: 15px;
    }
   
}

@media (max-width: 768px) {
    .card-wrapper {
        max-width: 75%;
    }
    .card {
        height: 250px;
    }
    .card-image {
        height: 160px;
    }
}

@media (min-width: 425px) and (max-width: 690px) {
    .card-wrapper {
        max-width: 85%;
    }
    .card {
        height: auto;
    }
    .card-image {
        height: 160px;
    }
    .card-title {
        font-size: 1rem;
    }
    .card p {
        font-size: 0.7rem;
    }
}

@media (min-width: 315px) and (max-width: 430px) {
    .card-container {
        padding: 10px;
    }
    .card-wrapper {
        max-width: 95%;
    }
    .card {
        height: auto;
    }
    .card-image {
        height: 140px;
    }
    .card-title {
        font-size: 0.9rem;
    }
    .card p {
        font-size: 0.6rem;
    }
    .card-button {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
}


/*----------------------------Card Section END------------------------------------*/

/*-------------------------------Latest News Updates--------------------------*/


    .updates-container {
           
            padding: 50px 20px;
            opacity: 0;
            transform: translateY(50px);
            transition: opacity 0.8s ease-out, transform 0.8s ease-out;
        }
        .updates-container.visible {
            opacity: 1;
            transform: translateY(0);
        }
        .updates-container h2 {
            font-size: 36px;
            margin-bottom: 10px;
             text-align: center;
             font-family:var(--font-heading);
        }
    
        .updates-container p {
            font-size: 18px;
            color: #666;
            margin-bottom: 30px;
    
        }
        .updates-wrapper {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
           
        }
        .update-item {
            width: 280px;
            border: 1px solid black;
           
            border-radius: 10px;
            overflow: hidden;
            background: #fff;
            transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
        }
        .update-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }
        .update-item img {
            width: 100%;
            height: 180px;
            object-fit: cover;
        }
        .update-content {
            padding: 15px;
        }
        .update-content h3 {
            font-size: 18px;
            margin-bottom: 10px;
              font-family:var(--font-heading);
              text-align:left;
        }
        .update-content .update-date {
            font-size: 14px;
            color: blue;
            margin-bottom: 10px;
        }
        .update-content p {
            font-size: 14px;
            color: #666;
            margin-bottom: 15px;
             text-align:left;
        }
        .update-divider {
            width: calc(100% - 40px);
            height: 1px;
            background: #ccc;
            margin: 0 auto 15px auto;
        }
        .update-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 15px 15px;
        }
        .update-footer a {
            text-decoration: none;
            color: black;
            font-weight: bold;
        }
        .update-footer .icon {
            font-size: 18px;
        }
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* Responsive styles */
@media (max-width: 2560px) {
    .updates-container {
        max-width: 1200px;
        margin: auto;
    }
    .updates-wrapper {
        gap: 30px;
    }
}

@media (max-width: 1024px) {
    .updates-container {
        padding: 40px 15px;
    }
    .update-item {
        width: 25%;
    }
}

@media (max-width: 768px) {
    .updates-container h2 {
        font-size: 28px;
    }
    .updates-wrapper {
        /*flex-direction: column;*/
        align-items: center;
    }
    .update-item {
        width: 30%;
    }
}

@media (min-width: 425px) and (max-width: 690px) {
    .update-item {
        width: 60%;
    }
    .updates-container h2 {
        font-size: 24px;
    }
}

@media (min-width: 315px) and (max-width: 430px) {
    .update-item {
        width: 100%;
    }
    .updates-container {
        padding: 30px 10px;
    }
    .updates-container h2 {
        font-size: 22px;
    }
}

/*-------------------------------Latest News Updates END--------------------------*/

/*-------------------------------CONTACT US Updates--------------------------*/


.contact-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px;
    max-width: 1600px;
    margin: auto;
    gap: 20px;
}

.contact-form {
    width: 60%;
}

.contact-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
}

.contact-form-content {
    width: 100%;
}

.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.contact-input,
.contact-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #888;
    border-radius: 5px;
    font-size: 16px;
}

.contact-textarea {
    height: 100px;
}

.button-container {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.contact-button {
    background-color: #2c2c92;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}
.contact-image {
    width: 50%;
   margin-left:20px;
}

.contact-img {
    width: 85%;
    height:65vh;
    border-radius: 10px;
}
@media (max-width: 2560px) {
    .contact-container {
        max-width: 1900px;
    }
}

/* Tablets and medium screens */
@media (max-width: 1024px) {
    .contact-container {
        
        align-items: center;
        text-align: center;
        padding: 40px;
    }

    .contact-form {
        width: 80%;
    }

    .contact-image {
        width: 80%;
        margin-left: 0;
    }

    .contact-img {
        width: 100%;
        height: auto;
    }
}

/* Smaller tablets and large mobile screens */
@media (max-width: 768px) {
    .contact-container {
        padding: 30px;
    }

    .contact-title {
        font-size: 28px;
    }

    .contact-form {
        width: 90%;
    }

    .contact-image {
        width: 90%;
    }
}

/* Small mobile screens (425px - 690px) */
@media (min-width: 425px) and (max-width: 690px) {
    .contact-container {
        padding: 20px;
         flex-direction: column;
    }

    .contact-title {
        font-size: 24px;
    }

    .contact-form {
        width: 95%;
    }

    .contact-input,
    .contact-textarea {
        padding: 10px;
        font-size: 14px;
    }

    .contact-button {
        padding: 10px 16px;
        font-size: 14px;
    }

    .contact-image {
        width: 100%;
    }

    .contact-img {
        width: 100%;
        height: auto;
    }
}

/* Extra small mobile screens (315px - 430px) */
@media (min-width: 315px) and (max-width: 430px) {
    .contact-container {
        padding: 15px;
         flex-direction: column;
    }

    .contact-title {
        font-size: 22px;
    }

    .contact-form {
        width: 100%;
    }

    .contact-input,
    .contact-textarea {
        font-size: 14px;
    }

    .contact-button {
        padding: 8px 14px;
        font-size: 13px;
    }

    .contact-image {
        width: 100%;
    }

    .contact-img {
        width: 100%;
        height: auto;
    }
}
