/* ROOT VARIABLES */
:root {
    --primary-orange: #FF8C42;
    --primary-gold: #f3c249;
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --bg-light: #FAF9F6;
    --card-bg: #F5F5F5;
    --saffron-blue: #0EA5E9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}


.sidebar-menu {
			position: fixed;
			top: 0;
			left: -100%;
			width: 280px;
			height: 100vh;
			background: #f5f5f5;
			/* soft gray */
			box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
			transition: left 0.4s ease;
			z-index: 9999;
			padding: 0px;
			display: flex;
			flex-direction: column;
		}

		/* Show menu */
		.sidebar-menu.active {
			left: 0;
		}

		/* Header with logo and close */
		.sidebar-header {
			padding: 20px;
			background: #e8e8e8;
			display: flex;
			justify-content: space-between;
			align-items: center;
		}

		.sidebar-logo {
			height: 40px;
		}

		/* Close button */
		.close-btn {
			background: none;
			border: none;
			font-size: 28px;
			color: #333;
			cursor: pointer;
		}

		.sidebar-links {
			margin-top: 30px;
		}

		.sidebar-links li a {
			display: flex;
			align-items: center;
			gap: 8px;
			padding: 10px 16px;
			color: #1f2937;
			text-decoration: none;
			transition: background 0.2s ease;
		}

		.sidebar-links li a:hover {
			background-color: #f3f4f6;
			color: #0ea5e9;
		}

		.sidebar-links li a i {
			transition: transform 0.3s ease;
		}

		.dropdown-menu,
		.submenu-list {
			display: none;
			flex-direction: column;
			padding-left: 16px;
		}

		.dropdown-menu.open,
		.submenu-list.open {
			display: flex;
		}

		.rotated {
			transform: rotate(90deg);
		}


/* ============================================
   SCROLL ANIMATION CLASSES - ULTRA SMOOTH
   ============================================ */

/* Hidden state before animation */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.scroll-animate.fade-in-left {
    transform: translateX(-30px);
}

.scroll-animate.fade-in-right {
    transform: translateX(30px);
}

.scroll-animate.scale-up {
    transform: scale(0.95);
}

.scroll-animate.rotate-in {
    transform: rotate(-3deg) translateY(20px);
}

/* Active state when visible */
.scroll-animate.active {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1) rotate(0);
}

/* Smooth stagger delays for multiple elements */
.scroll-animate:nth-child(1) { transition-delay: 0.05s; }
.scroll-animate:nth-child(2) { transition-delay: 0.15s; }
.scroll-animate:nth-child(3) { transition-delay: 0.25s; }
.scroll-animate:nth-child(4) { transition-delay: 0.35s; }
.scroll-animate:nth-child(5) { transition-delay: 0.45s; }
.scroll-animate:nth-child(6) { transition-delay: 0.55s; }

/* ============================================
   HEADER STYLES
   ============================================ */

header {
    border-radius: 60px;
    position: fixed;
    top: 20px;
    left: 12%;
    width: 75%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.container {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 5px 20px;
}

.header-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

.logo {
    text-decoration: none;
}

.logo-icon {
    padding: 9px;
    height: 80px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.logo-dark {
    display: none;
}

.nav-menu {
    gap: 20px;
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin: 0 20px;
}

.nav-menu a {
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 60px;
    background: transparent;
    color: #e5e7eb;
    font-weight: 400;
    font-size: 15px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background: rgba(14, 165, 233, 0.15);
    color: #fff;
    border-color: rgba(14, 165, 233, 0.25);
}

.contact-btn {
    position: relative;
    text-decoration: none;
    display: inline-block;
    padding: 12px 24px;
    overflow: hidden;
    background: #f3c249;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 40px;
    border: none;
    box-shadow: 0 -1px 4px #f3c2497d, 0 2px 6px rgba(255, 255, 255, 0);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
    transition: 0.3s ease;
}

.contact-btn a {
    color: white;
    text-decoration: none;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: 0;
}

.contact-btn:hover::before {
    transform: translateX(2);
}

.contact-btn:hover {
    transform: translateY(-7px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #0052cc;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
    color: rgb(9, 30, 124);
}

/* ============================================
   HERO SECTION WITH ANIMATIONS
   ============================================ */

.aboutpage-hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.aboutpage-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.aboutpage-hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/image/about-us.jfif');
    background-size: cover;
    background-position: center;
    filter: brightness(0.7);
    z-index: 1;
    animation: zoomIn 1.5s ease-out;
}

@keyframes zoomIn {
    from {
        transform: scale(1.1);
        opacity: 0.8;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.aboutpage-network-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.342) 0%, rgba(25, 25, 50, 0.438) 100%);
    z-index: 2;
    animation: fadeIn 1.2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.aboutpage-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.aboutpage-hero-content h1 {
        font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: white;
    animation: fadeInUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s both;
}

.divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #efd625, #978921);
    margin: 0 auto;
    border-radius: 2px;
    animation: expandWidth 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.9s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandWidth {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 100px;
        opacity: 1;
    }
}

/* ============================================
   MODERN ABOUT SECTION
   ============================================ */

.modern-about-section {
    min-height: 100vh;
    padding: 100px 5%;
    position: relative;
    background-color: var(--bg-light);
}

.modern-section-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.modern-section-label {
    display: inline-block;
    padding: 8px 20px;
    border: 1.5px solid var(--primary-orange);
    border-radius: 50px;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-orange);
    margin-bottom: 30px;
    font-weight: 500;
    font-family: 'Outfit', sans-serif;
}

.modern-main-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 58px;
    line-height: 1.2;
    margin-bottom: 35px;
    font-weight: 400;
    letter-spacing: -1px;
    color: var(--text-dark);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.modern-description {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 40px;
    font-weight: 300;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.modern-stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 72px;
    line-height: 1;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.modern-stat-icon {
    font-size: 32px;
    color: var(--primary-orange);
    margin-left: 5px;
}

.modern-stat-label {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 400;
    margin-bottom: 50px;
}

.modern-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 40px;
    background-color: transparent;
    border: 2px solid var(--text-dark);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
}

.modern-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--primary-orange);
    transition: left 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
    border-radius: 50px;
}

.modern-cta-button:hover {
    border-color: var(--primary-orange);
    color: white;
    transform: translateY(-2px);
}

.modern-cta-button:hover::before {
    left: 0;
}

.modern-image-right {
    position: relative;
    height: 700px;
}

.modern-building-image {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modern-building-image:hover {
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.modern-building-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modern-building-image:hover img {
    transform: scale(1.05);
}

.modern-feature-cards {
    position: absolute;
    bottom: -40px;
    left: -60px;
    right: 60px;
    display: flex;
    gap: 20px;
    z-index: 10;
}

.modern-feature-card {
    flex: 1;
    background: white;
    padding: 35px 30px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modern-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.modern-feature-icon {
    width: 50px;
    height: 50px;
    background-color: #FFF3E8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 22px;
    color: var(--primary-orange);
}

.modern-feature-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.3;
}

.modern-feature-card p {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-gray);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ============================================
   TEAM SECTION
   ============================================ */

.team-section {
    background-color: #f9f8f5;
    min-height: 100vh;
    padding: 80px 20px;
}

.badge {
    text-align: center;
    margin-bottom: 30px;
}

.badge span {
  display: inline-block;
    padding: 8px 20px;
    border: 1.5px solid var(--primary-orange);
    border-radius: 50px;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-orange);
    margin-bottom: 30px;
    font-weight: 500;
    font-family: 'Outfit', sans-serif;
}


.heading {
    text-align: center;
    margin-bottom: 30px;
    padding: 0 15px;
}

.heading h1 {
    font-size: 56px;
    font-weight: 400;
    color: #111827;
    line-height: 1.2;
    margin-bottom: 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.heading p {
    font-size: 18px;
    color: #6b7280;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.team-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-image {
    position: relative;
    height: 350px;
    overflow: hidden;
    background: #ffffff; /* અથવા transparent */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* cover ની જગ્યાએ contain */
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-card:hover .card-image img {
    transform: scale(1.05);
    /* filter: blur(8px); */
}

.social-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-card:hover .social-overlay {
    opacity: 1;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 18px;
}

.social-icon:hover {
    background: #f97316;
    color: white;
    transform: scale(1.15);
}

.card-content {
    padding: 30px;
    text-align: center;
}

.card-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.card-content p {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

/* ============================================
   TRUST SECTION
   ============================================ */

.trust-section {
    background: #f5f6f7;
    padding: 100px 5%;
}

.container-2 {
    max-width: 1400px;
    margin: 0 auto;
}

.right-section h1 {
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #ceb798, #6e583f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.description {
    font-size: 22px;
    line-height: 1.8;
    color: #6e583f;
    margin-bottom: 50px;
}

.feature {
    margin-bottom: 30px;
}

.feature h3 {
    color: #ceb798;
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 500;
}

.feature p {
    font-size: 1.1rem;
    color: #6e583f;
    line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: #0b0b0b;
    color: #fff;
    padding: 60px 20px 30px;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.footer-logo img {
    width: 56px;
    height: auto;
}

.logo-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    letter-spacing: 4px;
    margin: 0;
}

.logo-text span {
    display: block;
    font-size: 12px;
    letter-spacing: 3px;
    color: #aaa;
}

.footer-line {
    border: none;
    height: 1px;
    background: #333;
    margin: 35px 0;
}

.footer-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 35px;
    padding: 0;
    margin-bottom: 35px;
}

.footer-menu a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
}

.footer-menu a:hover {
    color: #fff;
}

.footer-subscribe {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.footer-subscribe input {
    padding: 14px 20px;
    width: 260px;
    border-radius: 30px 0 0 30px;
    border: 1px solid #444;
    background: transparent;
    color: #fff;
    outline: none;
}

.footer-subscribe button {
    padding: 14px 30px;
    border-radius: 0 30px 30px 0;
    border: none;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border: 1px solid #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer-social a:hover {
    background: #fff;
    color: #000;
    transform: translateY(-5px) scale(1.1);
    border-color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 13px;
    color: #aaa;
}

.footer-bottom a {
    color: #aaa;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #fff;
}
.logo-3d {
  display: inline-block;
  perspective: 1000px;
}

.logo-3d img {
  width: 56px;
  transform-style: preserve-3d;
  transition: transform 1.5s ease;
}

/* FULL ROTATION */
.logo-3d:hover img {
  transform: rotateY(360deg);
}

@keyframes spin3d {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(360deg);
  }
}

.logo-3d img {
  width: 56px;
  transform-style: preserve-3d;
}

.logo-3d:hover img {
  animation: spin3d 2.5s linear infinite;
}
/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    header {
        width: 90%;
    }

    .modern-section-container {
        gap: 60px;
    }

    .modern-main-heading {
        font-size: 48px;
    }

    .modern-image-right {
        height: 600px;
    }

    .modern-feature-cards {
        left: -30px;
        right: 30px;
    }
}

@media (max-width: 968px) {
    .modern-section-container {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .modern-feature-cards {
        position: static;
        margin-top: 40px;
        left: 0;
        right: 0;
    }

    .modern-main-heading {
        font-size: 42px;
    }

    .right-section h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    header {
        border-radius: 0;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        padding: 10px 0;
    }

    .header-container {
        justify-content: space-between;
        padding: 10px 20px;
    }

    .logo-icon {
        height: 60px;
    }

    .nav-menu {
        display: none;
    }

    .contact-btn {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .aboutpage-hero {
        height: 70vh;
        min-height: 500px;
    }

    .aboutpage-hero h1 {
        font-size: 2.5rem;
    }

    .modern-about-section {
        padding: 60px 20px 100px;
    }

    .modern-main-heading {
        font-size: 36px;
        line-height: 1.3;
    }

    .modern-description {
        font-size: 16px;
        line-height: 1.7;
    }

    .modern-stat-number {
        font-size: 60px;
    }

    .modern-image-right {
        height: auto;
    }

    .modern-feature-cards {
        flex-direction: column;
        margin-top: 30px;
        margin-bottom: 40px;
        gap: 16px;
    }

    .modern-feature-card {
        padding: 25px 20px;
    }
    
    .modern-feature-card h3 {
        font-size: 18px;
        line-height: 1.4;
    }
    
    .modern-feature-card p {
        font-size: 13px;
        line-height: 1.5;
    }

    .trust-section {
        padding: 60px 20px;
    }

    .right-section h1 {
        font-size: 2rem;
    }

    .description {
        font-size: 18px;
    }

    .feature h3 {
        font-size: 1.3rem;
    }

    .feature p {
        font-size: 1rem;
    }

    .footer-menu {
        gap: 20px;
        flex-wrap: wrap;
    }

    .footer-subscribe {
        flex-direction: column;
        align-items: center;
    }

    .footer-subscribe input {
        border-radius: 30px;
        width: 100%;
        max-width: 300px;
        margin-bottom: 10px;
    }

    .footer-subscribe button {
        border-radius: 30px;
        width: 100%;
        max-width: 300px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    /* Team Section Mobile Fix */
    .team-section {
        padding: 60px 20px;
    }
    
    .badge {
        margin-bottom: 20px;
    }
    
    .badge span {
        font-size: 12px;
        padding: 8px 16px;
    }

    .heading {
        margin-bottom: 20px;
    }

    .heading h1 {
        font-size: 32px;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .heading p {
        font-size: 15px;
        line-height: 1.6;
        padding: 0 10px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 40px;
    }
    
    .card-image {
        height: 300px;
    }
    
    .card-content {
        padding: 25px 20px;
    }
    
    .card-content h3 {
        font-size: 22px;
        margin-bottom: 6px;
    }
    
    .card-content p {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .aboutpage-hero h1 {
        font-size: 2rem;
        padding: 0 15px;
    }

    .modern-about-section {
        padding: 50px 15px 80px;
    }

    .modern-section-label {
        font-size: 11px;
        padding: 6px 16px;
    }

    .modern-main-heading {
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 25px;
    }

    .modern-description {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 30px;
    }

    .modern-stat-number {
        font-size: 48px;
    }

    .modern-stat-label {
        font-size: 13px;
        margin-bottom: 35px;
    }

    .modern-cta-button {
        padding: 14px 28px;
        font-size: 14px;
    }

    .modern-image-right {
        height: 350px;
    }

    .modern-feature-card {
        padding: 20px 15px;
    }

    .modern-feature-card h3 {
        font-size: 16px;
    }

    .modern-feature-card p {
        font-size: 12px;
    }

    .right-section h1 {
        font-size: 1.8rem;
    }

    .description {
        font-size: 16px;
    }

    .logo-text h2 {
        font-size: 28px;
    }

    /* Team Section - Small Mobile */
    .team-section {
        padding: 50px 15px;
          margin: 250px auto;
    }

    .badge span {
        font-size: 11px;
        padding: 7px 14px;
    }

    .heading h1 {
        font-size: 26px;
        line-height: 1.3;
        padding: 0 5px;
    }

    .heading p {
        font-size: 14px;
        line-height: 1.5;
        padding: 0 5px;
    }

    .team-grid {
        gap: 25px;
        margin-top: 35px;
    }

    .card-image {
        height: 280px;
    }

    .card-content {
        padding: 20px 15px;
    }

    .card-content h3 {
        font-size: 20px;
    }

    .card-content p {
        font-size: 12px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .logo-icon {
        height: 50px;
    }

    .aboutpage-hero {
        min-height: 450px;
    }

    .aboutpage-hero h1 {
        font-size: 1.75rem;
        padding: 0 10px;
    }

    .modern-about-section {
        padding: 40px 15px 70px;
    }

    .modern-section-label {
        font-size: 10px;
        padding: 6px 14px;
        margin-bottom: 20px;
    }

    .modern-main-heading {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 20px;
    }

    .modern-description {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 25px;
    }

    .modern-stat-number {
        font-size: 42px;
    }

    .modern-stat-label {
        font-size: 12px;
        margin-bottom: 30px;
    }

    .modern-cta-button {
        padding: 12px 24px;
        font-size: 13px;
    }

    .modern-image-right {
        height: 300px;
    }

    .modern-feature-card {
        padding: 18px 15px;
    }

    .modern-feature-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin-bottom: 15px;
    }

    .modern-feature-card h3 {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .modern-feature-card p {
        font-size: 11px;
    }

    .right-section h1 {
        font-size: 1.6rem;
    }

    .description {
        font-size: 15px;
    }

    .feature h3 {
        font-size: 1.2rem;
    }

    /* Team Section - Extra Small Mobile */
    .team-section {
        padding: 40px 10px;
        margin: 250px auto;
    }

    .badge {
        margin-bottom: 15px;
    }

    .badge span {
        font-size: 10px;
        padding: 6px 12px;
        letter-spacing: 0.5px;
    }

    .heading {
        margin-bottom: 15px;
    }



    .team-grid {
        gap: 20px;
        margin-top: 30px;
    }

    .card-image {
        height: 260px;
    }

    .card-content {
        padding: 18px 15px;
    }

    .card-content h3 {
        font-size: 18px;
        margin-bottom: 5px;
    }

    .card-content p {
        font-size: 11px;
    }

    .social-icon {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .social-overlay {
        gap: 12px;
    }
}
 @media (max-width: 768px) {
            .heading h1 {
                font-size: 36px;
            }

            .heading p {
                font-size: 16px;
            }

            .team-grid {
                grid-template-columns: 1fr;
                gap: 30px;
            }
        }