/* Modern CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

:root {
    --primary-color: #FFB800;
    --secondary-color: #FF6B00;
    --accent-color: #FFD700;
    --text-color: #ffffff;
    --background-dark: #000000;
    --card-bg: rgba(255, 184, 0, 0.1);
    --gradient-1: linear-gradient(135deg, #FFB800 0%, #FF6B00 100%);
    --gradient-2: linear-gradient(135deg, #FF6B00 0%, #FFB800 100%);
}

html {
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

html::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

body {
    background-color: var(--background-dark);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

body::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    text-align: left;
}

.section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
    text-align: center;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .logo {
    transform: translateX(-20px);
}

.nav-logo {
    width: 50px;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover .nav-logo {
    transform: none;
}

.navbar.scrolled .logo:hover .nav-logo {
    transform: rotate(360deg);
}

.logo-text {
    display: flex;
    flex-direction: column;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.navbar.scrolled .logo-text {
    opacity: 0;
    transform: translateX(100px);
    position: absolute;
    pointer-events: none;
}

.navbar.scrolled .logo:hover .logo-text {
    opacity: 1;
    transform: translateX(0);
    position: relative;
    pointer-events: auto;
}

.navbar.scrolled .logo:not(:hover) .logo-text {
    transform: translateX(100px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-text h1 {
    font-size: 1.8rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    margin: 0;
    line-height: 1;
}

.logo-text p {
    font-size: 0.9rem;
    color: var(--text-color);
    margin: 0;
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient-1);
    color: var(--background-dark);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 184, 0, 0.2);
}

/* Navigation Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    width: 70vw;
    max-width: 1000px;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    margin-top: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform-origin: top center;
    scale: 0.95;
    pointer-events: none;
    right: auto;
    margin-left: -35vw;
}

.dropdown-content.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    scale: 1;
    pointer-events: auto;
}

.dropdown-btn {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.dropdown-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.dropdown-btn:hover::after {
    width: 100%;
}

.dropdown-btn i {
    font-size: 0.8rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-btn.active i {
    transform: rotate(180deg);
}

.dropdown-section {
    padding: 1rem;
    min-width: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dropdown-content.active .dropdown-section {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.dropdown-content.active .dropdown-section:nth-child(2) {
    transition-delay: 0.2s;
}

.dropdown-content.active .dropdown-section:nth-child(3) {
    transition-delay: 0.3s;
}

.dropdown-section h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-section a {
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 0;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-section a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.dropdown-section a i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 20px;
    transition: transform 0.3s ease;
}

.dropdown-section a:hover i {
    transform: scale(1.2);
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
    background: transparent;
    border: none;
    outline: none;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--text-color);
    transition: all 0.3s ease;
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Responsive Design for Navigation */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }

    .nav-logo {
        width: 35px;
    }

    .logo-text h1 {
        font-size: 1.3rem;
    }

    .logo-text p {
        font-size: 0.7rem;
    }

    /* Remove all logo animations for mobile */
    .navbar.scrolled .logo {
        transform: none;
    }

    .navbar.scrolled .logo-text {
        opacity: 1;
        transform: none;
        position: relative;
        pointer-events: auto;
    }

    .navbar.scrolled .logo:hover .nav-logo {
        transform: none;
    }

    .navbar.scrolled .logo:hover .logo-text {
        opacity: 1;
        transform: none;
    }

    .navbar.scrolled .logo:not(:hover) .logo-text {
        opacity: 1;
        transform: none;
    }

    .logo:hover .nav-logo {
        transform: none;
    }

    /* Mobile Navigation */
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(10px);
        padding: 1.5rem;
        gap: 1rem;
        flex-direction: column;
        transition: all 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        width: 100%;
        padding: 0.8rem 0;
        font-size: 1.1rem;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-cta {
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
        padding: 0.8rem;
    }

    .hamburger {
        display: flex;
        position: relative;
        z-index: 1002;
    }

    /* Hero Section Mobile */
    .hero-content {
        text-align: center;
        padding: 1.5rem;
    }

    .gradient-text {
        font-size: 2.5rem;
        text-align: center;
    }

    .hero-subtitle {
        text-align: center;
    }

    .cta-buttons {
        justify-content: center;
    }

    /* Services Section Mobile */
    .services-hero-content h1 {
        font-size: 2.5rem;
        text-align: center;
    }

    .services-hero-content p {
        font-size: 1.1rem;
        text-align: center;
    }

    .service-category {
        margin: 1rem;
        max-width: 100%;
    }

    .category-header {
        padding: 1.5rem;
    }

    .category-header h3 {
        font-size: 1.8rem;
    }

    .service-item {
        padding: 1.5rem;
    }

    .service-details h4 {
        font-size: 1.4rem;
    }

    .service-details p {
        font-size: 1rem;
    }

    /* Footer Mobile */
    .footer {
        padding: 3rem 1rem 1.5rem;
    }

    .footer-content {
        gap: 2rem;
    }

    .footer-section h3 {
        font-size: 1.4rem;
        text-align: center;
    }

    .footer-section p {
        text-align: center;
    }

    .footer-links {
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .dropdown-content {
        width: 85vw;
        left: 50%;
        transform: translateX(-50%) translateY(-20px);
        padding: 1.5rem;
        margin-left: -42.5vw;
    }
    
    .dropdown-content.active {
        transform: translateX(-50%) translateY(0);
    }
}

/* Additional Mobile Breakpoints */
@media (max-width: 480px) {
    .gradient-text {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .services-hero-content h1 {
        font-size: 2rem;
    }

    .services-hero-content p {
        font-size: 1rem;
    }

    .category-header h3 {
        font-size: 1.5rem;
    }

    .service-details h4 {
        font-size: 1.2rem;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 2rem;
    overflow: hidden;
    width: 100%;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    will-change: transform;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
}

.hero-content {
    max-width: 1000px;
    text-align: left;
    z-index: 1;
    position: relative;
    padding: 2rem;
    width: 100%;
    will-change: transform;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background: radial-gradient(circle, rgba(255, 184, 0, 0.1) 0%, transparent 70%);
    z-index: -1;
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.hero-logo {
    width: 150px;
    height: auto;
    object-fit: contain;
    animation: fadeInDown 0.8s ease forwards, float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.hero-text {
    text-align: left;
    opacity: 1;
    transform: translateY(0);
}

.company-name {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0;
    letter-spacing: -2px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 1;
    transform: translateY(0);
}

.tagline {
    font-size: 1.8rem;
    color: var(--text-color);
    margin: 0.5rem 0 0 0;
    font-weight: 500;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.8s ease 0.3s forwards;
}

.subtagline {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 1rem 0 0 0;
    font-weight: 400;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Section */
.services {
    padding: 8rem 2rem;
    background: var(--background-dark);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 184, 0, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 3.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.section-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.services-categories {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.services-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 2rem 4rem;
    background: transparent;
    overflow: hidden;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 184, 0, 0.15) 0%, transparent 70%);
    z-index: 0;
}

.services-hero-content {
    text-align: center;
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.services-hero-content h1 {
    font-size: 4.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.5rem;
    opacity: 1;
    transform: translateY(0);
}

.services-hero-content p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    opacity: 1;
    transform: translateY(0);
}

.services-container {
    position: relative;
    z-index: 2;
    padding-top: 100vh;
    min-height: 100vh;
    background: transparent;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 12rem;
    padding: 100vh 4rem 4rem;
    overflow-x: hidden;
}

.services-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.service-category {
    border-radius: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    width: 400px;
    max-width: 400px;
    visibility: visible;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 1;
    transform: translateY(0);
    perspective: 1000px;
    cursor: pointer;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.8));
}

/* Software Solutions Card - First */
.service-category:nth-child(1) {
    margin-top: 0;
}

/* Hardware Solutions Card - Second */
.service-category:nth-child(2) {
    margin-top: 35rem;
}

/* Digital Solutions Card - Third */
.service-category:nth-child(3) {
    margin-top: 70rem;
}

.service-category-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    min-height: 350px;
}

.service-category:hover .service-category-inner {
    transform: rotateY(180deg);
}

.service-category-front,
.service-category-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-category-front {
    z-index: 2;
    justify-content: center;
}

.service-category-back {
    transform: rotateY(180deg);
    z-index: 1;
    justify-content: flex-start;
    overflow-y: scroll;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.service-category-back::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Software Solutions Card */
.service-category:nth-child(1) .service-category-front,
.service-category:nth-child(1) .service-category-back {
    background: linear-gradient(135deg, #1a237e, #283593);
}

/* Hardware Solutions Card */
.service-category:nth-child(2) .service-category-front,
.service-category:nth-child(2) .service-category-back {
    background: linear-gradient(135deg, #b71c1c, #c62828);
}

/* Digital Solutions Card */
.service-category:nth-child(3) .service-category-front,
.service-category:nth-child(3) .service-category-back {
    background: linear-gradient(135deg, #4a148c, #6a1b9a);
}

.service-category-front i {
    font-size: 3.5rem;
    margin-bottom: 1.2rem;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.service-category-front h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: -1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.service-item {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    width: 100%;
    min-height: 60px;
}

.service-item:last-child {
    border-bottom: none;
}

.service-item i {
    font-size: 1.8rem;
    color: #ffffff;
    margin-top: 0.25rem;
    transition: transform 0.3s ease;
}

.service-details h4 {
    font-size: 1.3rem;
    margin: 0;
    color: #ffffff;
    transition: color 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.service-details p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.4;
}

/* Hover effects */
.service-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.service-item:hover i {
    transform: scale(1.2);
    color: #ffffff;
}

.service-item:hover h4 {
    color: var(--primary-color);
}

/* Responsive Design for Services */
@media (max-width: 768px) {
    .services-container {
        padding-top: 80vh;
        flex-direction: column;
        align-items: center;
        gap: 8rem;
        padding: 80vh 1rem 1rem;
    }

    .service-category {
        width: 90%;
        max-width: 400px;
        margin-top: 8rem !important;
    }

    .service-category-front h3 {
        font-size: 2rem;
    }

    .service-category-front i {
        font-size: 3rem;
    }

    .service-details h4 {
        font-size: 1.2rem;
    }

    .service-details p {
        font-size: 0.95rem;
    }
}

.view-all {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(255, 184, 0, 0.1);
}

.view-all i {
    transition: transform 0.3s ease;
}

.view-all:hover {
    background: rgba(255, 184, 0, 0.2);
    transform: translateX(5px);
}

.view-all:hover i {
    transform: translateX(5px);
}

.section-title-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2rem 3rem;
    border-radius: 30px;
    background: rgba(255, 184, 0, 0.1);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    width: 50%;
}

.what-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 1rem;
}

.section-title-link .section-title {
    margin: 0;
    font-size: 6rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    letter-spacing: -2px;
    line-height: 1;
    text-align: left;
}

.do-we-do-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    z-index: 2;
}

.do-we {
    margin: 0;
    font-size: 6rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
    letter-spacing: -2px;
    line-height: 1;
}

.do-question {
    margin: 0;
    font-size: 8rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.3s forwards;
    letter-spacing: -4px;
    line-height: 0.8;
}

.section-title-link .section-subtitle {
    margin: 2rem 0 0 0;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
    text-transform: lowercase;
    letter-spacing: 1px;
    text-align: left;
}

.services-image {
    width: 45%;
    height: auto;
    object-fit: contain;
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 0.8s ease 0.5s forwards;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-title-link {
        flex-direction: column;
        padding: 1.5rem;
    }

    .title-wrapper {
        width: 100%;
    }

    .services-image {
        width: 100%;
        margin-top: 2rem;
    }

    .section-title-link .section-title {
        font-size: 4rem;
    }

    .do-we {
        font-size: 4rem;
    }

    .do-question {
        font-size: 6rem;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: white;
    padding: 4rem 0 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #2e7d32);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-section h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.footer-section p {
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section a {
    color: #e0e0e0;
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.social-links i {
    font-size: 1.2rem;
    color: white;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    text-align: center;
    margin-top: 3rem;
}

.footer-bottom p {
    color: #e0e0e0;
    font-size: 0.9rem;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .footer-section a:hover {
        transform: translateX(0) scale(1.05);
    }
}

/* Contact Section */
.contact {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-1);
    opacity: 0.05;
    z-index: 0;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form input,
.contact-form textarea {
    padding: 1.2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-color);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 184, 0, 0.1);
    background: rgba(0, 0, 0, 0.3);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background: #2e7d32;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    .contact-form {
        padding: 1.5rem;
    }
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--background-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 184, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--background-dark);
    transform: translateY(-2px);
}

/* Explore Us and Contact Us Button Styles */
.explore-btn, .contact-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 1rem;
}

.explore-btn {
    background: var(--gradient-1);
    color: var(--background-dark);
}

.explore-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 184, 0, 0.2);
}

.contact-btn {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--primary-color);
}

.contact-btn:hover {
    background: var(--primary-color);
    color: var(--background-dark);
    transform: translateY(-2px);
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    margin-top: 2rem;
}

.cta-primary {
    background: var(--gradient-1);
    color: var(--background-dark);
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 184, 0, 0.2);
}

.cta-secondary {
    background: transparent;
    color: var(--text-color);
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    font-size: 1.1rem;
}

.cta-secondary:hover {
    background: var(--primary-color);
    color: var(--background-dark);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-primary, .cta-secondary {
        width: 100%;
        text-align: center;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.back-home-btn {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.8rem 1.5rem;
    background: var(--gradient-1);
    color: var(--background-dark);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-home-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 184, 0, 0.2);
}

@media (max-width: 768px) {
    .back-home-btn {
        width: 100%;
        text-align: center;
    }
}

.back-home-nav {
    background: var(--gradient-1);
    color: var(--background-dark) !important;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-home-nav::after {
    display: none;
}

.back-home-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 184, 0, 0.2);
}

@media (max-width: 768px) {
    .back-home-nav {
        width: 100%;
        text-align: center;
        margin: 0.5rem 0;
    }
}

/* Career Page Styles */
.career-container {
    max-width: 1200px;
    margin: 100px auto;
    padding: 20px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.9) 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.career-container .section-title {
    color: #fff;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(45deg, #FFB800, #FF6B00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.career-container .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.career-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    position: relative;
    min-height: 600px;
}

.card-wrapper {
    width: 500px;
    position: relative;
}

.career-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
    display: block;
}

.career-card.hide {
    display: none;
}

.career-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.career-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.career-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.career-card-content {
    padding: 1.5rem;
    text-align: center;
    color: #333;
}

.career-card-content i {
    font-size: 2.5rem;
    color: #ffb800;
    margin-bottom: 1rem;
}

.career-card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.career-card-content p {
    color: #666;
    font-size: 1rem;
}

.career-form {
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 500px;
    height: 100vh;
    background: #ffffff;
    padding: 2rem;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    font-family: 'Inter', sans-serif;
}

/* Slide from right for intern form */
#internForm {
    right: -100%;
}

#internForm.active {
    right: 0;
}

/* Slide from left for fulltime form */
#fulltimeForm {
    left: -100%;
}

#fulltimeForm.active {
    left: 0;
}

.career-form::-webkit-scrollbar {
    display: none;
}

.form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.form-overlay.active {
    opacity: 1;
    visibility: visible;
}

.close-form-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: #f8f9fa;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1001;
}

.close-form-btn:hover {
    background: #e9ecef;
    color: #333;
    transform: rotate(90deg);
}

.career-form h2 {
    margin-bottom: 2rem;
    color: #1a1a1a;
    font-size: 2rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding-right: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #4a4a4a;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e1e1e1;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #007bff;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
    outline: none;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc3545;
    background: #fff5f5;
}

.error-message {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
}

.form-group input.error + .error-message,
.form-group select.error + .error-message,
.form-group textarea.error + .error-message {
    display: block;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-bottom: 2rem;
}

.back-btn,
.submit-btn {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.back-btn {
    background: #f8f9fa;
    border: 2px solid #e1e1e1;
    color: #4a4a4a;
}

.submit-btn {
    background: #007bff;
    border: none;
    color: white;
    flex: 1;
}

.back-btn:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.submit-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

/* Success message styling */
.success-message {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: #28a745;
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
    animation: slideIn 0.4s ease;
    z-index: 1002;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .career-form {
        width: 100%;
        max-width: none;
    }
    
    .career-form h2 {
        font-size: 1.75rem;
    }
    
    .form-buttons {
        flex-direction: column;
    }
    
    .back-btn,
    .submit-btn {
        width: 100%;
    }
    .back-home-btn {
        width: 100%;
        text-align: center;
    }
}

/* File input styling */
.file-input-wrapper {
    position: relative;
    margin-bottom: 0.5rem;
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-input-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border: 2px dashed #e1e1e1;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-input-label:hover {
    background: #e9ecef;
    border-color: #007bff;
}

.file-name {
    font-size: 0.9rem;
    color: #4a4a4a;
    margin-top: 0.5rem;
    display: none;
}

.file-name.show {
    display: block;
}

/* Loading state for submit button */
.submit-btn.loading {
    position: relative;
    color: transparent;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: button-loading-spinner 0.8s linear infinite;
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
    }
    to {
        transform: rotate(1turn);
    }
}

/* Submission message */
.submission-message {
    position: fixed;
    top: 2rem;
    right: 2rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.4s ease;
    z-index: 1002;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.submission-message.success {
    background: #28a745;
    color: white;
}

.submission-message.error {
    background: #dc3545;
    color: white;
}

.submission-message i {
    font-size: 1.2rem;
}

.back-home {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #ffb800;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-home:hover {
    background: #e6a600;
    transform: translateY(-2px);
}

.back-home i {
    font-size: 1.1rem;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 1rem 2rem;
}

/* GSAP Hero Section for About Page */
.gsap-hero-section {
    position: relative;
    height: calc(100vh - 80px);
    overflow: visible; /* Changed from hidden to allow scrolling */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background-dark);
    z-index: 1;
    margin-top: 80px;
}

.gsap-hero-image-container {
    position: absolute;
    width: 90%;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    overflow: hidden;
}

.gsap-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none;
}

.gsap-company-info {
    position: absolute;
    right: 5%;
    opacity: 0;
    text-align: right;
    z-index: 3;
    transform: translateX(100px);
    pointer-events: none;
    padding-right: 2rem;
}

.gsap-company-info .gradient-text {
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

.gsap-company-info .hero-subtitle {
    font-size: 1.2rem;
}

/* Ensure other about sections are below this pinned section */
.container {
    position: relative;
    z-index: 10;
    background-color: var(--background-dark);
}

/* Override existing hero styles for the about page to hide the old section */
.about-hero {
    display: none;
}

/* Responsive adjustments for hero section */
@media (max-width: 768px) {
    .gsap-hero-section {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-top: 2rem;
        height: 100vh;
        overflow: hidden;
    }

    .gsap-hero-image-container {
        width: 90%;
        height: 60vh;
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        overflow: hidden;
        margin: 0 auto;
    }

    .gsap-hero-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1.2);
        transition: transform 1.5s ease-out;
    }

    .gsap-hero-section.scrolled .gsap-hero-image {
        transform: scale(1);
    }

    .gsap-company-info {
        position: relative;
        right: auto;
        opacity: 0;
        text-align: center;
        transform: translateY(50px);
        padding: 2rem 1rem;
        width: 100%;
        pointer-events: auto;
        transition: all 1s ease;
    }

    .gsap-company-info.animate {
        opacity: 1;
        transform: translateY(0);
    }

    .gsap-company-info h1 {
        font-size: 2.5rem;
    }

    .gsap-company-info p {
        font-size: 1.2rem;
    }
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background-color: var(--background-dark);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.stat-card p {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Timeline Section */
.timeline-section {
    padding: 4rem 0;
    background-color: var(--background-dark);
}

.timeline-section h2 {
    color: #ffffff;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 2rem 0;
    position: relative;
    width: 50%;
    margin-left: auto;
}

.timeline-item:nth-child(even) {
    margin-left: 0;
    margin-right: auto;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(even) .timeline-dot {
    left: auto;
    right: -10px;
}

.timeline-content {
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.timeline-content h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.timeline-content p {
    color: #666;
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

/* Locations Section */
.locations-section {
    padding: 6rem 0;
    background-color: var(--background-dark);
}

.locations-section h2 {
    color: white;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: 600;
}

.locations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.location-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.location-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.location-card p {
    margin: 0.5rem 0;
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.5;
}

.location-card i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.map-container {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

#map1, #map2 {
    height: 100%;
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .team-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .team-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 404px;
        height: auto;
        aspect-ratio: 404/516;
        margin: 0 auto;
    }

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

    .map-container {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .team-section h2,
    .locations-section h2 {
        font-size: 2rem;
    }

    .team-info h3 {
        font-size: 2rem;
    }

    .team-info .position {
        font-size: 1.3rem;
    }
}

/* Team Section */
.team-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(76, 175, 80, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.team-section h2 {
    color: #ffffff;
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.team-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s ease;
    position: relative;
    z-index: 1;
}

.team-content.animate {
    opacity: 1;
    transform: translateX(0);
}

.team-image {
    flex: 0 0 404px;
    height: 516px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.team-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 80%, rgba(0, 0, 0, 0.3));
    pointer-events: none;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-image:hover img {
    transform: scale(1.05);
}

.team-info {
    flex: 1;
    color: #ffffff;
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s ease 0.3s;
}

.team-content.animate .team-info {
    opacity: 1;
    transform: translateX(0);
}

.team-info h3 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
    position: relative;
    display: inline-block;
}

.team-info h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.team-info:hover h3::after {
    width: 100%;
}

.team-info .position {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.team-info .bio {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e0e0e0;
    position: relative;
    padding-left: 20px;
    border-left: 2px solid var(--primary-color);
}

/* Responsive adjustments for team section */
@media (max-width: 992px) {
    .team-section {
        padding: 4rem 0;
    }

    .team-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding-top: 2rem;
    }

    .team-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 404px;
        height: auto;
        aspect-ratio: 404/516;
        margin: 0 auto;
    }

    .team-info {
        padding: 0 1rem;
    }

    .team-info h3 {
        font-size: 2rem;
    }

    .team-info h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .team-info .position {
        font-size: 1.3rem;
    }

    .team-info .bio {
        font-size: 1rem;
        padding-left: 0;
        border-left: none;
        border-top: 2px solid var(--primary-color);
        padding-top: 15px;
    }
}

@media (max-width: 576px) {
    .team-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .team-content {
        padding-top: 1rem;
    }

    .team-image {
        max-width: 100%;
    }
}
