/* 7s Institute - Main Stylesheet */
/* Modern, Professional Design with Green & White Theme */
/* Enhanced with Advanced Animations & Glassmorphism */

:root {
    --primary-green: #22c55e;
    --dark-green: #16a34a;
    --darker-green: #15803d;
    --light-green: #86efac;
    --green-50: #f0fdf4;
    --green-100: #dcfce7;
    --white: #FFFFFF;
    --black: #000000;
    --light-gray: #f8fafc;
    --medium-gray: #e2e8f0;
    --dark-gray: #64748b;
    --text-dark: #0f172a;
    --gradient-green: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    --gradient-green-light: linear-gradient(135deg, #86efac 0%, #22c55e 100%);
    --gradient-animated: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #22c55e 100%);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(34, 197, 94, 0.15);
    --shadow-lg: 0 10px 30px rgba(34, 197, 94, 0.2);
    --shadow-xl: 0 20px 50px rgba(34, 197, 94, 0.25);
    --shadow-glow: 0 0 30px rgba(34, 197, 94, 0.4);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --border-radius: 16px;
    --border-radius-lg: 24px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
    position: relative;
}

/* Header & Navigation */
header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(34, 197, 94, 0.1);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(34, 197, 94, 0.1);
    border-bottom: 1px solid rgba(34, 197, 94, 0.2);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition);
}

.logo img {
    height: 70px;
    width: auto;
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.05);
}

.logo-text {
    font-size: 2rem;
    font-weight: 800;
    color: var(--black);
}

.logo-text span {
    color: var(--primary-green);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: var(--gradient-green);
    left: 0;
    bottom: 0;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover {
    color: var(--primary-green);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-green);
    transition: var(--transition);
}

.mobile-toggle:hover {
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    padding-top: 160px;
    background: linear-gradient(135deg, var(--green-50) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(134, 239, 172, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -30px) rotate(5deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 4rem;
    color: var(--text-dark);
    margin-bottom: 24px;
    line-height: 1.1;
    font-weight: 800;
    animation: slideInLeft 0.8s ease-out;
}

.hero-text h1 .highlight {
    background: var(--gradient-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--dark-gray);
    line-height: 1.8;
    animation: slideInLeft 0.8s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: slideInLeft 0.8s ease-out 0.4s both;
}

.hero-image {
    position: relative;
    animation: slideInRight 0.8s ease-out 0.6s both;
}

.hero-image img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--gradient-green);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--primary-green);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary-green);
}

.btn-white:hover {
    background: var(--green-50);
}

/* Stats Section */
.stats {
    background: var(--gradient-green);
    color: var(--white);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    animation: fadeInUp 0.8s ease-out both;
}

.stat-item:nth-child(1) {
    animation-delay: 0.1s;
}

.stat-item:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-item:nth-child(3) {
    animation-delay: 0.3s;
}

.stat-item:nth-child(4) {
    animation-delay: 0.4s;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.95;
    font-weight: 500;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 16px;
    font-weight: 800;
}

.section-title h2 .highlight {
    background: var(--gradient-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title p {
    font-size: 1.15rem;
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 5px;
    background: var(--gradient-green);
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

/* Courses Section */
.courses {
    background-color: var(--light-gray);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 35px;
}

.course-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--medium-gray);
    position: relative;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-green);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.course-card:hover::before {
    transform: scaleX(1);
}

.course-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--light-green);
}

.course-img {
    height: 200px;
    background: var(--gradient-green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.course-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.course-card:hover .course-img::before {
    opacity: 1;
}

.course-content {
    padding: 30px;
}

.course-content h3 {
    color: var(--text-dark);
    font-size: 1.6rem;
    margin-bottom: 12px;
    transition: var(--transition);
}

.course-card:hover .course-content h3 {
    color: var(--primary-green);
}

.course-content p {
    color: var(--dark-gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--medium-gray);
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.course-meta i {
    color: var(--primary-green);
    margin-right: 6px;
}

/* Features Section */
.features {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--light-gray);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    border: 2px solid transparent;
}

.feature-card:hover {
    background: var(--white);
    border-color: var(--primary-green);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2.2rem;
    color: var(--white);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--dark-gray);
    line-height: 1.7;
}

/* Testimonials */
.testimonials {
    background: var(--light-gray);
}

.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-slide {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 60px;
    box-shadow: var(--shadow-md);
    text-align: center;
    display: none;
    animation: fadeIn 0.8s ease;
    position: relative;
    border: 2px solid var(--medium-gray);
}

.testimonial-slide::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 40px;
    font-size: 120px;
    color: rgba(34, 197, 94, 0.1);
    font-family: Georgia, serif;
    font-weight: bold;
    line-height: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-slide.active {
    display: block;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--dark-gray);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.author-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient-green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-md);
}

.author-info h4 {
    margin-bottom: 4px;
    color: var(--text-dark);
    font-size: 1.2rem;
}

.author-info p {
    color: var(--primary-green);
    font-weight: 600;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--medium-gray);
    cursor: pointer;
    transition: var(--transition);
}

.dot:hover {
    background-color: var(--light-green);
}

.dot.active {
    background-color: var(--primary-green);
    transform: scale(1.2);
}

/* CTA Section */
.cta {
    background: var(--gradient-green);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.cta p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* Contact Section */
.contact {
    background-color: var(--light-gray);
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info h3 {
    color: var(--primary-green);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 2px solid transparent;
}

.contact-item:hover {
    border-color: var(--primary-green);
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--gradient-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-item-content h4 {
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.contact-item-content p {
    color: var(--dark-gray);
    line-height: 1.7;
}

.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--medium-gray);
}

.contact-form h3 {
    color: var(--text-dark);
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Map Section */
.map-section {
    background-color: var(--white);
}

.map-container {
    height: 450px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--medium-gray);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 80px 0 30px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-about .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-about .footer-logo img {
    height: 65px;
    width: auto;
}

.footer-logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
}

.footer-logo-text span {
    color: var(--primary-green);
}

.footer-about p {
    margin-bottom: 24px;
    opacity: 0.9;
    line-height: 1.8;
}

.footer-links h4 {
    margin-bottom: 24px;
    font-size: 1.4rem;
    color: var(--primary-green);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-green);
    padding-left: 8px;
}

.footer-links a i {
    margin-right: 8px;
    color: var(--primary-green);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 24px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
}

.social-links a:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-4px);
    border-color: var(--primary-green);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
    font-size: 0.95rem;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: var(--gradient-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    font-size: 1.3rem;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* Instructor Cards */
.instructors {
    background-color: var(--light-gray);
}

.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 35px;
}

.instructor-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid var(--medium-gray);
}

.instructor-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-green);
}

.instructor-img {
    height: 280px;
    background: var(--gradient-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--white);
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.instructor-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.instructor-card:hover .instructor-img::before {
    opacity: 1;
}

.instructor-content {
    padding: 30px;
    text-align: center;
}

.instructor-content h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.instructor-content .role {
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 1rem;
}

.instructor-content p {
    color: var(--dark-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.instructor-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.instructor-social a {
    width: 38px;
    height: 38px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    transition: var(--transition);
}

.instructor-social a:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-3px);
}

/* About Page Specific */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    color: var(--primary-green);
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.about-text p {
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-item {
    padding: 30px;
    background: var(--white);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-green);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.value-item i {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 16px;
}

.value-item h4 {
    color: var(--text-dark);
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.value-item p {
    color: var(--dark-gray);
    line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 992px) {

    .hero-content,
    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .section-title h2 {
        font-size: 2.5rem;
    }

    .about-text h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 0;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        gap: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition);
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 15px 0;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    section {
        padding: 70px 0;
    }

    .cta h2 {
        font-size: 2.2rem;
    }

    .testimonial-slide {
        padding: 40px 30px;
    }

    .about-text h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding-top: 140px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .map-container {
        height: 300px;
    }

    .cta h2 {
        font-size: 1.8rem;
    }

    .cta p {
        font-size: 1.1rem;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid var(--primary-green);
    outline-offset: 3px;
}

/* Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Advanced Animations */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Gradient Animation for Buttons */
.btn-animated {
    background-size: 200% 200%;
    background-image: var(--gradient-animated);
    animation: gradientShift 3s ease infinite;
}

/* Ripple Effect */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple:active::after {
    width: 300px;
    height: 300px;
}

/* Glow Effect on Hover */
.glow-on-hover {
    transition: var(--transition);
}

.glow-on-hover:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

/* Parallax Effect */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Card Flip Animation */
.flip-card {
    perspective: 1000px;
}

.flip-card-inner {
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* Typing Animation */
@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

.typing-effect {
    overflow: hidden;
    border-right: 3px solid var(--primary-green);
    white-space: nowrap;
    animation: typing 3.5s steps(40, end), blink 0.75s step-end infinite;
}

/* Particle Background */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    top: 0;
    left: 0;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-green);
    border-radius: 50%;
    opacity: 0.3;
    animation: floatParticle 15s infinite;
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.3;
    }

    90% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

/* Smooth Reveal on Scroll */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Animation */
.stagger-item {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.6s ease forwards;
}

.stagger-item:nth-child(1) {
    animation-delay: 0.1s;
}

.stagger-item:nth-child(2) {
    animation-delay: 0.2s;
}

.stagger-item:nth-child(3) {
    animation-delay: 0.3s;
}

.stagger-item:nth-child(4) {
    animation-delay: 0.4s;
}

.stagger-item:nth-child(5) {
    animation-delay: 0.5s;
}

.stagger-item:nth-child(6) {
    animation-delay: 0.6s;
}

/* Hover Lift Effect */
.hover-lift {
    transition: var(--transition-bounce);
}

.hover-lift:hover {
    transform: translateY(-10px) scale(1.02);
}

/* Gradient Text Animation */
.gradient-text-animated {
    background: var(--gradient-animated);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
}

/* Shake Animation */
@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

.shake {
    animation: shake 0.5s ease;
}

/* Zoom In Animation */
@keyframes zoomIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.zoom-in {
    animation: zoomIn 0.5s ease;
}

/* Slide In from Left */
@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.slide-in-left {
    animation: slideInFromLeft 0.8s ease;
}

/* Slide In from Right */
@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.slide-in-right {
    animation: slideInFromRight 0.8s ease;
}

/* Rotate In */
@keyframes rotateIn {
    from {
        transform: rotate(-200deg) scale(0);
        opacity: 0;
    }

    to {
        transform: rotate(0) scale(1);
        opacity: 1;
    }
}

.rotate-in {
    animation: rotateIn 0.6s ease;
}

/* Heartbeat Animation */
@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    10%,
    30% {
        transform: scale(0.9);
    }

    20%,
    40% {
        transform: scale(1.1);
    }
}

.heartbeat {
    animation: heartbeat 1.5s ease infinite;
}

/* Swing Animation */
@keyframes swing {
    20% {
        transform: rotate(15deg);
    }

    40% {
        transform: rotate(-10deg);
    }

    60% {
        transform: rotate(5deg);
    }

    80% {
        transform: rotate(-5deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.swing {
    transform-origin: top center;
    animation: swing 1s ease;
}

/* Wobble Animation */
@keyframes wobble {

    0%,
    100% {
        transform: translateX(0);
    }

    15% {
        transform: translateX(-25px) rotate(-5deg);
    }

    30% {
        transform: translateX(20px) rotate(3deg);
    }

    45% {
        transform: translateX(-15px) rotate(-3deg);
    }

    60% {
        transform: translateX(10px) rotate(2deg);
    }

    75% {
        transform: translateX(-5px) rotate(-1deg);
    }
}

.wobble {
    animation: wobble 1s ease;
}

/* Enhanced Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.glass-green {
    background: rgba(34, 197, 94, 0.1);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(34, 197, 94, 0.2);
    box-shadow: 0 8px 32px rgba(34, 197, 94, 0.1);
}

/* 3D Card Effect */
.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.card-3d:hover {
    transform: rotateY(10deg) rotateX(10deg);
}

/* Neon Glow Effect */
.neon-glow {
    text-shadow:
        0 0 10px rgba(34, 197, 94, 0.8),
        0 0 20px rgba(34, 197, 94, 0.6),
        0 0 30px rgba(34, 197, 94, 0.4),
        0 0 40px rgba(34, 197, 94, 0.2);
}

/* Progress Bar Animation */
@keyframes progressBar {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

.progress-animated {
    animation: progressBar 2s ease-in-out;
}

/* Fade In Animations */
.fade-in {
    animation: fadeIn 0.8s ease;
}

.fade-in-delay-1 {
    animation: fadeIn 0.8s ease 0.2s both;
}

.fade-in-delay-2 {
    animation: fadeIn 0.8s ease 0.4s both;
}

.fade-in-delay-3 {
    animation: fadeIn 0.8s ease 0.6s both;
}

/* Utility Classes for Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hover Effects */
.hover-scale:hover {
    transform: scale(1.05);
}

.hover-rotate:hover {
    transform: rotate(5deg);
}

.hover-brightness:hover {
    filter: brightness(1.1);
}

.hover-shadow:hover {
    box-shadow: var(--shadow-xl);
}

/* Scrolling Companies Section */
.companies-section {
    position: relative;
}

.companies-scroll {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    position: relative;
}

.companies-track {
    display: flex;
    gap: 60px;
    animation: scroll 30s linear infinite;
    width: fit-content;
}

.companies-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.company-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    min-width: 180px;
    padding: 30px 20px;
    background: var(--white);
    border: 2px solid var(--medium-gray);
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
}

.company-item:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: var(--primary-green);
    box-shadow: var(--shadow-lg);
    background: var(--green-50);
}

.company-item i {
    font-size: 3rem;
    color: var(--primary-green);
    transition: var(--transition);
}

.company-item:hover i {
    transform: scale(1.1) rotate(5deg);
    color: var(--dark-green);
}

.company-item span {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
}

/* Responsive adjustments for companies section */
@media (max-width: 768px) {
    .companies-track {
        gap: 40px;
    }

    .company-item {
        min-width: 150px;
        padding: 25px 15px;
    }

    .company-item i {
        font-size: 2.5rem;
    }

    .company-item span {
        font-size: 1rem;
    }
}