body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at center, #0a142f 0%, #000000 70%);
}

#sparkles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.content-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    position: relative;
    z-index: 1;
}

.title {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
}

.quote {
    font-size: 1.5rem;
    font-style: italic;
    opacity: 0;
    transform: translateY(20px);
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }
    .quote {
        font-size: 1.2rem;
    }
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-150%);
    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
}

.navbar-links ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
}

.navbar-links li {
    margin-left: 25px;
}

.navbar-links a {
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    padding: 5px 10px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.navbar-links a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Hamburger Menu */
.toggle-button {
    position: absolute;
    top: 25px;
    right: 20px;
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 21px;
}

.toggle-button .bar {
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

.toggle-button.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.toggle-button.active .bar:nth-child(2) {
    opacity: 0;
}

.toggle-button.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Responsive (Mobile) Styles */
@media (max-width: 820px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .toggle-button {
        display: flex;
    }

    .navbar-links {
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        background: rgba(30, 40, 60, 0.85);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 15px;
        margin-top: 10px;
        padding: 10px 0;
        
        display: flex;
        justify-content: center;

        visibility: hidden;
        clip-path: circle(0% at top right);
        transition: clip-path 0.4s ease-in-out, visibility 0.4s;
    }

    .navbar-links.active {
        visibility: visible;
        clip-path: circle(150% at top right);
    }

    .navbar-links ul {
        flex-direction: column;
        width: 100%;
        padding-top: 15px;
    }

    .navbar-links li {
        text-align: center;
        margin: 10px 0;
        margin-left: 0;
    }
}

/* Section Base Styles */
.section-title-container {
    perspective: 500px;
    margin-bottom: 0px; 
    display: inline-block;
    position: relative;
}

.section-title {
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    color: #fff;
    transform-origin: bottom;
    transform: rotateX(90deg);
    opacity: 0;
}

/* MODIFIED: Clients Section - Extremely Compact */
.clients-section {
    min-height: auto;
    padding: 0px 50px 0 50px; /* REMOVED bottom padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.logo-scroller {
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, white 20%, white 80%, transparent);
    mask-image: linear-gradient(to right, transparent, white 20%, white 80%, transparent);
}

.logo-scroller:hover .scroller-track {
    animation-play-state: paused;
}

.scroller-track {
    display: flex;
    width: calc(250px * 20); 
    animation: scroll 40s linear infinite;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-250px * 10)); 
    }
}

.logo-item {
    width: 250px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    box-sizing: border-box;
    transition: transform 0.3s ease;
}

.logo-item:hover {
    transform: translateY(-10px);
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    opacity: 0.9; /* MODIFIED: Bright default state */
    transition: opacity 0.3s ease;
}

.logo-item:hover img {
    opacity: 1; /* Full brightness on hover */
}

/* MODIFIED: Services Section - Extremely Compact */
.services-section {
    padding: 40px 50px 80px 50px; /* REMOVED top padding, added some back */
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; 
    position: relative;
    z-index: 1;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    width: 100%;
    max-width: 1200px;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(50px);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 150, 255, 0.1);
}

.service-icon {
    font-size: 3rem;
    color: #00aaff;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .clients-section {
        padding: 0px 20px 0 20px; /* MODIFIED */
    }
    .services-section {
        padding: 40px 20px 60px 20px; /* MODIFIED */
    }
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 5px;
    }
    .services-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Enhanced Process Section */
.process-section {
    padding: 10px 50px 50px 50px;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.process-title {
    margin-bottom: 15px;
}

.underline {
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, #00aaff, #0088cc);
    transform: scaleX(0);
    transform-origin: center;
    border-radius: 2px;
    box-shadow: 0 2px 15px rgba(0, 170, 255, 0.4);
    position: relative;
}

/* Desktop Hanging Animation */
.hanging-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform-origin: top center;
}

.thread-svg {
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.3));
}

.thread-line {
    stroke-dasharray: 120;
    stroke-dashoffset: 120;
}

.process-board {
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 30px;
    padding: 30px 50px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 10px 20px rgba(0, 170, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    transform-origin: top center;
    min-height: 130px;
    width: 100%;
    max-width: 900px;
    opacity: 0;
    transform: scale(0.8) translateY(-30px);
    position: relative;
}

.process-board::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, rgba(0, 170, 255, 0.3), rgba(0, 136, 204, 0.3));
    border-radius: 32px;
    z-index: -1;
}

.process-step {
    text-align: center;
    opacity: 0;
    transform: translateY(25px);
    flex: 1;
    position: relative;
}

.process-step-circle {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #00aaff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.3),
        0 2px 8px rgba(0, 170, 255, 0.2);
}

.step-number {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #00aaff, #0088cc);
    color: #000;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 170, 255, 0.4);
    z-index: 2;
}

.process-icon {
    font-size: 2.2rem;
    color: #00aaff;
    filter: drop-shadow(0 2px 6px rgba(0, 170, 255, 0.5));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.process-step:hover .process-step-circle {
    transform: scale(1.05);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.4),
        0 3px 12px rgba(0, 170, 255, 0.3);
}

.process-step:hover .process-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(0, 170, 255, 0.7));
}

.process-step h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Mobile Process Styles */
.mobile-process {
    display: none;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
    width: 100%;
}

.mobile-thread-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform-origin: top center;
}

.mobile-thread-svg {
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.3));
    margin-bottom: -2px;
}

.mobile-thread-line {
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
}

.mobile-process-board {
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 25px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.4),
        0 5px 15px rgba(0, 170, 255, 0.1);
    width: 90%;
    max-width: 380px;
    transform-origin: top center;
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
    position: relative;
}

.mobile-process-board::before {
    content: '';
    position: absolute;
    top: -1.5px;
    left: -1.5px;
    right: -1.5px;
    bottom: -1.5px;
    background: linear-gradient(135deg, rgba(0, 170, 255, 0.2), rgba(0, 136, 204, 0.2));
    border-radius: 26.5px;
    z-index: -1;
}

.mobile-process-step {
    display: flex;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
    transform: translateX(-30px);
    transition: background 0.3s ease;
}

.mobile-process-step:hover {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 18px 15px;
    margin: 0 -15px;
}

.mobile-process-step:last-child {
    border-bottom: none;
}

.mobile-process-icon {
    font-size: 2rem;
    color: #00aaff;
    margin-right: 20px;
    min-width: 45px;
    text-align: center;
    filter: drop-shadow(0 2px 6px rgba(0, 170, 255, 0.4));
}

.mobile-process-content h3 {
    margin: 0;
    font-size: 1.15rem;
    color: #fff;
    font-weight: 500;
}

.mobile-step-number {
    background: linear-gradient(135deg, #00aaff, #0088cc);
    color: #000;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
    margin-left: auto;
    box-shadow: 0 2px 8px rgba(0, 170, 255, 0.3);
}

/* Responsive Display Control */
@media (max-width: 768px) {
    .process-section {
        padding: 5px 20px 30px 20px;
        min-height: 70vh;
        justify-content: flex-start;
    }
    
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: flex !important;
    }
    
    .underline {
        width: 100%;
        height: 3px;
        margin-bottom: 15px;
    }
    
    .process-title {
        margin-bottom: 10px;
        font-size: 2.5rem;
    }
}

@media (min-width: 769px) {
    .mobile-only {
        display: none !important;
    }
    
    .desktop-only {
        display: flex !important;
    }
}

/* Works Section */
.works-section {
    padding-left: 50px;
    padding-right: 50px;
    padding-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* This will vertically center the content block */
    position: relative;
    z-index: 1;
    min-height: 100vh;
    box-sizing: border-box; /* Ensures padding is included in height calculation */
}

.works-title {
    margin-bottom: 30px;
}

.filter-buttons {
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.filter-btn {
    background: transparent;
    border: 2px solid #00aaff;
    color: #00aaff;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    outline: none;
}

.filter-btn:hover,
.filter-btn.active {
    background: #00aaff;
    color: #000;
    box-shadow: 0 5px 15px rgba(0, 170, 255, 0.4);
}

.works-grid-wrapper {
    width: 100%;
    max-width: 1200px;
    scrollbar-width: thin;
    scrollbar-color: #00aaff #0a142f;
}

.works-grid-wrapper::-webkit-scrollbar {
    width: 12px;
}

.works-grid-wrapper::-webkit-scrollbar-track {
    background: #0a142f;
    border-radius: 10px;
}

.works-grid-wrapper::-webkit-scrollbar-thumb {
    background-color: #00aaff;
    border-radius: 10px;
    border: 3px solid #0a142f;
}

.works-grid {
    width: 100%;
}

.work-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    will-change: transform, opacity;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.work-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 170, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.work-item:hover:before {
    left: 100%;
}

.work-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.work-content {
    text-align: center;
}

.work-icon {
    font-size: 2.8rem;
    color: #00aaff;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.work-item:hover .work-icon {
    transform: scale(1.1);
}

.work-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #fff;
}

.work-desc {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.5;
    word-wrap: break-word;
}

/* Isotope Animations */
.isotope-item {
    z-index: 2;
}

.isotope-hidden.isotope-item {
    pointer-events: none;
    z-index: 1;
}

.works-grid.isotope,
.works-grid.isotope .isotope-item {
  transition-duration: 0.6s;
}

.works-grid.isotope .isotope-item {
  transition-property: transform, opacity;
}

/* Responsive Works Section */
@media (max-width: 768px) {
    .works-section {
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 30px;
        justify-content: flex-start; /* Align to top on mobile */
        margin-top: 150px; /* Prevents overlap with process section */
    }
    .works-grid-wrapper {
        max-height: 450px; /* Exact height for 2 cards (250px + 20px margin + 250px) */
        overflow-y: auto;
        padding-right: 15px;
    }
    .work-item {
        width: 100%; /* Single column on mobile */
        margin-bottom: 20px; /* Spacing between cards */
    }
}

@media (min-width: 769px) {
    .works-grid-wrapper {
        max-height: 550px; /* Shows 2 rows of cards before scrolling */
        overflow-y: auto;
        padding-right: 15px;
    }
    .work-item {
        width: calc(33.333% - 20px); /* Creates 3 columns with space between */
        margin: 10px; /* Creates a 20px gap between cards */
    }
}

/* --- About Us Section --- */
.about-us-section {
    padding: 0px 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

.about-us-content-wrapper {
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hanging-board-container {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    width: 100%;
    padding-top: 19px; 
}

/* MODIFICATION: Nail is absolutely positioned on top of everything */
.nail {
    position: absolute;
    top: 0;
    left: 50%;
    width: 20px;
    height: 20px;
    background: linear-gradient(145deg, #e0e0e0, #9e9e9e);
    border-radius: 50%;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.5);
    transform: translateX(-50%) scale(0);
    opacity: 0;
    z-index: 3; /* Highest z-index */
}

/* MODIFICATION: SVG is also absolutely positioned on top of the board */
.hanging-thread-svg {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0; /* Renders above board, but below nail */
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.3));
}

.thread-left,
.thread-right {
    stroke-dasharray: 128; /* Approx. length of diagonal line */
    stroke-dashoffset: 128;
}

/* MODIFICATION: Board has a lower z-index so nail/threads appear on top */
.about-us-board {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 25px 35px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    width: 80%;
    max-width: 800px;
    margin-top: 40px; /* Reduced space */
    opacity: 0;
    position: relative; /* Needed for stacking context */
    z-index: 1; /* Lowest z-index in this container */
}

.about-us-board p {
    margin: 0;
    text-align: center;
    line-height: 1.7;
    font-size: 1.05rem;
    color: #e0e0e0;
}

.about-us-details {
    display: flex;
    gap: 40px;
    width: 100%;
}

.detail-box {
    flex: 1;
    opacity: 0;
    transform: translateY(30px);
}

.detail-box h3 {
    font-size: 1.8rem;
    color: #fff;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 3px solid #00aaff;
    display: inline-block;
}

.detail-box p {
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 15px;
}

/* Responsive About Us Section */
@media (max-width: 768px) {
    .about-us-section {
        padding: 0px 20px;
    }
    
    .hanging-board-container {
        margin-bottom: 40px;
    }
    
    .about-us-board {
        width: 100%;
        padding: 20px;
    }
    
    .about-us-board p {
        font-size: 1rem;
    }

    .about-us-details {
        flex-direction: column;
        gap: 30px;
    }
    
    .detail-box h3 {
        font-size: 1.6rem;
    }
} 

/* --- Our Team Section --- */
.team-section {
    padding: 3px 50px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

.team-heading {
    color: #fff !important; /* Ensure it is white */
}

.team-content-wrapper {
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-board {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 25px 35px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    width: 80%;
    max-width: 800px;
    margin-top: 40px;
    opacity: 0;
    position: relative;
    z-index: 1;
}

.team-board p {
    margin: 0;
    text-align: center;
    line-height: 1.7;
    font-size: 1.05rem;
    color: #e0e0e0;
}

.team-cards-container {
    display: flex;
    justify-content: center;
    gap: 40px; /* Adjusted gap for desktop */
    margin-top: 50px;
    width: 100%;
    flex-wrap: wrap;
}

.team-card {
    width: 260px; /* Further decreased size */
    height: 360px; /* Further decreased size */
    perspective: 1000px;
    opacity: 0;
    transform: translateY(50px);
    box-sizing: border-box;
}

.team-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s;
    box-sizing: border-box;
}

.team-card-front,
.team-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 15px;
    overflow: hidden;
    box-sizing: border-box;
}

.team-card-front {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    padding: 20px;
}

.team-card-back {
    background: rgba(22, 36, 61, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transform: rotateY(180deg); /* Hide the back initially */
    color: #fff;
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.team-photo {
    width: 120px;
    height: 120px;
    min-width: 120px;
    min-height: 120px;
    border-radius: 50%;
    border: 3px solid #00aaff;
    margin-bottom: 15px;
    object-fit: cover;
}

.team-name {
    font-size: 1.5rem;
    margin: 10px 0 5px;
    width: 100%;
    overflow-wrap: break-word;
}

.team-job-title {
    font-size: 1rem;
    color: #00aaff;
    margin: 0 0 0px;
    width: 100%;
    overflow-wrap: break-word;
}

.team-desc {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.5;
    flex-grow: 1;
    width: 100%;
    overflow-wrap: break-word;
    overflow-y: auto;
    max-height: 100px;
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

.team-desc::-webkit-scrollbar {
    width: 8px;
}

.team-desc::-webkit-scrollbar-track {
    background: transparent;
}

.team-desc::-webkit-scrollbar-thumb {
    background-color: transparent;
    border-radius: 10px;
}

.team-desc:hover {
    scrollbar-color: #00aaff #0a142f;
}

.team-desc:hover::-webkit-scrollbar-thumb {
    background-color: #00aaff;
}

.team-desc:hover::-webkit-scrollbar-track {
    background: #0a142f;
}

.team-social-icons {
    margin-top: auto;
    display: flex;
    justify-content: center;
}

.team-social-icons a {
    color: #fff;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.team-social-icons a:hover {
    color: #00aaff;
}

@media (max-width: 768px) {
    .team-section {
        padding: 3px 20px 0px;
    }
    .team-board {
        width: 100%;
        padding: 20px;
    }
    .team-board p {
        font-size: 1rem;
    }
    .team-cards-container {
        flex-direction: column;
        align-items: center;
        gap: 20px; /* Reduced gap for a tighter look */
        width: 100%; /* Ensure it takes full width */
    }
    .team-card {
        width: 90%;
        max-width: 280px; /* Reduced max-width for smaller cards */
        height: 380px; /* Explicit height for mobile */
    }
}

/* --- Contact Us Section --- */
.contact-section {
    padding: 0px 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    min-height: 70vh;
}

.contact-title {
    margin-bottom: 40px;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1000px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 35px;
    text-align: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(50px);
    text-decoration: none;
    color: #fff;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 150, 255, 0.1);
    color: #fff;
}

.contact-icon {
    font-size: 3rem;
    color: #00aaff;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.contact-card p {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.6;
    word-break: break-all;
}

/* --- Footer --- */
.site-footer {
    background: #0a142f;
    padding: 30px 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(100%);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright-text {
    color: #ccc;
    font-size: 1rem;
}

.footer-social-icons a {
    color: #ccc;
    font-size: 1.4rem;
    margin-left: 20px;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-social-icons a:hover {
    color: #00aaff;
    transform: scale(1.2);
}

/* Responsive Contact & Footer */
@media (max-width: 768px) {
    .contact-section {
        padding: 0px 20px;
        min-height: auto;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-social-icons a {
        margin: 0 10px;
    }
}