.hero-section {
    position: relative;
    width: 100vw;
    height: 100vh; /* Full height on desktop */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-overlay {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 1rem;
    max-width: 800px;
    
}

.hero-content h2 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: white;
    opacity: 0; 
    transform: translateY(20px); 
    animation: fadeIn 3s forwards; 
    color: white;
}


.hero-content p {
    font-size: 2rem;
    line-height: 1.5;
    color: white;
    text-align: center;
    margin-bottom: 2rem;
    opacity: 0; 
    transform: translateY(20px); 
    animation: fadeIn 4s forwards; 
}

.cta-button{
    display: inline-block;
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1rem, 4vw, 2rem);
    margin-right: 20px;
    margin-bottom: 10px;
    background-color: #daa520;
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 10px;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    opacity: 0; 
    transform: translateY(20px); 
    animation: fadeIn 3s forwards; 
}

.cta-button:hover {
    background-color: transparent;
    border: 2px solid #daa520;
    color: #daa520;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    justify-items: center;
    width: 100%;
  }
  
/* Services Section */
.services {
    padding: 4rem 1rem;
    background: var(--gray-50);
    padding-top: 10px;
    padding-bottom: 1.5rem;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    color: var(--gray-600);
    font-size: 1.125rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.service-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.service-content p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}


/* Service Cards Grid - desktop default */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.service-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}


.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #333;
}


.service-content h3 i {
    color: #daa520; 
    font-size: 1.2em;
}

.service-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #095d40; 
    color: white;
    text-decoration: none;
    border-radius: 4px;
    border: 2px solid #095d40;
    transition: all 0.3s ease;
}

.btn-link:hover {
    background-color: transparent;
    color: #095d40;
}

/* Responsive adjustments */
@media (max-width: 80%) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.main-content {
    position: relative;
    z-index: 2;
    margin-top: 0; 
    background-color: white;
}

/* Features Section */
.features-section {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    background: #f5f5f5;
}

.features-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    width: calc(300px * 8);
    animation: carousel 30s linear infinite;
}

.feature-card {
    flex: 0 0 300px;
    padding: 20px;
    text-align: center;
    background: white;
    margin: 0 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}


.partner-logo {
    width: 100%;
    height: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.feature-card:hover .partner-logo {
    transform: scale(1.05);
}

/* Adjust for mobile */
@media (max-width: 80%) {
    .feature-card {
        flex: 0 0 250px;
    }
    
    .partner-logo {
        height: 150px;
    }
}

@keyframes carousel {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-300px * 4)); 
        }
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .service-card {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .service-card img {
        height: 250px;
    }

    .service-content {
        padding: 2rem;
    }
}

/* Services Preview */
.services-preview {
    padding: 4rem 0;
    background-color: #EAE7E7;
    padding-top: 1px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    padding-top: 30px;
}
.h2Carousel {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}
.pCarousel {
    text-align: center;
    font-size: 1.5rem;
    color: #666;
    margin-left: 10%;
    margin-right: 10%;
    margin-bottom: 1rem;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #666;
    padding: 0 2rem;
}

.services-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover img {
    transform: scale(1.1);
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.service-content p {
    color: #666;
    margin-bottom: 1rem;
}

.learn-more {
    color: #daa520;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.learn-more:hover {
    color: #667;
}

/* Animations */
.animate-fade {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.animate-fade-delay {
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.3s;
}

.animate-bounce {
    animation: bounce 2s infinite;
}

.animate-slide, 
.animate-slide-left, 
.animate-slide-right, 
.animate-slide-up,
.animate-fade {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-slide {
    transform: translateY(20px);
}

.animate-slide-left {
    transform: translateX(-50px);
}

.animate-slide-right {
    transform: translateX(50px);
}

.animate-slide-up {
    transform: translateY(50px);
}

/* Animation Keyframes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

/* Visible state */
.animate-slide.visible,
.animate-slide-left.visible,
.animate-slide-right.visible,
.animate-slide-up.visible,
.animate-fade.visible {
    opacity: 1;
    visibility: visible;
    transform: translate(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    /* Slightly shorter hero on tablets and smaller screens */
    .hero-section {
        height: 90vh;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding-left: 15px;
    }
    
    .hero-content h2 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        max-width: 90%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-section .services-grid {
      grid-template-columns: 1fr;
      padding: 0 1rem;
      display: none; /* Hide the buttons in mobile view */
    }
}

@media (max-width: 640px) {
    .hero-content h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding-left: 10px;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }

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

.vision-mission-section {
    display: flex;
    align-items: center;
    padding: 40px 5%;
    gap: 60px;
    background: #fff;
    overflow: hidden;   
}

.vision-item {
    flex: 1;
    max-width: 600px;
}

.vision-image {
    flex: 1;
    max-width: 600px;
}

.vision-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.subtitle {
    color: #daa520;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}

.vision-item h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.vision-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.vision-item .contact-link {
    color: #7FB3A3;
    text-decoration: none;
    font-weight: 600;
}

.vision-item .contact-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 968px) {
    .vision-mission-section {
        flex-direction: column;
        padding: 40px 5%;
        gap: 40px;
    }

    .vision-mission-section .vision-image {
        order: -1;
        max-width: 100%;
    }

    .vision-item {
        max-width: 100%;
    }
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-section h3 {
    text-align: left;
    margin-bottom: 1rem;
}

.footer-section p {
    text-align: left;
    margin: 0;
}

.contact-link {
    display: inline-block;
    text-decoration: none;
    color: inherit;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #daa520;
}

.contact-link i {
    margin-right: 8px;
    width: 16px; /* Fixed width for icons to align text */
}

.footer-logo-tag {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    text-decoration: none;
    margin-top: 0;
    background-color: #DBDBDB;
    border-radius: 20px;
}

.footer-logo-img {
    height: 80px;
    width: 100%	;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    margin-top: 0;
}

.footer-logo-img:hover {
    transform: scale(1.05);
}

@media (max-width: 900px) {
    .footer-logo-img {
        height: 60px;
    }
}

@media (max-width: 768px) {
    .hero-content h2 {
      font-size: 2rem;
    }
  
    .hero-content p {
      font-size: 1.2rem;
    }
  }
  @media (max-width: 768px) {
    .cta-button {
      width: 100%;
      margin-right: 0;
      text-align: center;
    }
  }

  @media (max-width: 900px) {
    .services-grid {
        display: flex;
        flex-direction: column;
        padding: 0 1rem;
        gap: 2rem;
    }

    .service-card {
        width: 100%;
        margin: 0 auto;
    }

    .service-card img {
        height: 250px;
    }

    .service-content {
        padding: 1.5rem;
    }
  }
  