* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary: #2563eb;
    /* Professional Blue */
    --dark: #0f172a;
    --light: #f8fafc;
    --text: #334155;
}

body {
    line-height: 1.6;
    color: var(--text);
    scroll-behavior: smooth;
}

.container {
    padding: 80px 10%;
}

.bg-light {
    background-color: var(--light);
    padding: 80px 10%;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 8%;
    background: var(--dark);
    color: white;
    position: fixed;
    width: 100%;
    z-index: 1000;
}


.logo {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
}

.text-primary {
    color: var(--primary);
    margin-left: 5px;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 400;
    transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    font-weight: 600;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.4s;
}

/* Mobile Nav Styles */
@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 60px;
        /* Adjust based on navbar height */
        right: 0;
        height: 100vh;
        width: 100%;
        background-color: var(--dark);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 60px;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
    }

    .nav-links.active {
        transform: translateX(0%);
    }

    .nav-links li {
        margin: 25px 0;
    }

    .menu-toggle {
        display: flex;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    /* More neutral, lighter overlay so the image is clearer */
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%),
        url('ishoracharya.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    padding: 80px 10% 40px;
    /* Added top padding to prevent navbar overlap */
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    z-index: 2;
    transform: translateX(-15px);
    /* Slightly shift hero content left */
    /* Ensure content is above any potential pseudo-elements */
}

/* Add a subtle overlay pattern to make it look techy */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(15, 23, 42, 0.8) 100%);
    pointer-events: none;
}

.greeting {
    font-size: 1.3rem;
    font-weight: 600;
    color: #60a5fa;
    /* Lighter blue for better contrast */
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    display: block;
    animation: fadeInDown 1s ease-out;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.cursor {
    display: inline-block;
    width: 3px;
    background-color: #60a5fa;
    animation: blink 1s infinite;
    margin-left: 5px;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero h1 .highlight {
    color: transparent;
    background: linear-gradient(90deg, #60a5fa, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    /* Gradient text effect */
}

.hero-roles {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.separator {
    color: var(--primary);
    font-size: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto 35px;
    line-height: 1.6;
}

.hero-socials {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 50px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 15px 30px;
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 13px 30px;
}

.btn-outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-down a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.5rem;
    cursor: pointer;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
        background-position: center top;
        min-height: 100vh;
        padding-top: 100px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-roles {
        font-size: 1rem;
    }

    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }
}

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.btn:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
}

/* Services Grid */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* Expertise Section */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.expertise-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), #60a5fa);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.expertise-card:hover::before {
    transform: scaleX(1);
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.15);
}

.expertise-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), #60a5fa);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.expertise-icon i {
    font-size: 1.8rem;
    color: white;
}

.expertise-card h3 {
    color: var(--dark);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.expertise-card>p {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.expertise-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.expertise-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: 0.9rem;
    padding: 8px 0;
    border-top: 1px solid #f1f5f9;
}

.expertise-list li:first-child {
    border-top: none;
}

.expertise-list li i {
    color: #22c55e;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .expertise-card {
        padding: 25px;
    }
}

/* Project Section */
.section-subtitle {
    text-align: center;
    color: var(--text);
    font-size: 1.1rem;
    margin-top: -30px;
    margin-bottom: 50px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.project-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #60a5fa);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.15);
}

.project-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), #60a5fa);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.project-icon i {
    font-size: 1.5rem;
    color: white;
}
/* Base Style for All Badges */
.status-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px; /* Pill shape */
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}
/* 1. Compeleted (GREEN) */
.status-badge.completed {
    background-color: #d1fae5;
    color: #059669; /* Deep Green */
}
/* 2. In Progress (YELLOW) */
.status-badge.in-progress {
    background-color: #fef3c7;
    color: #d97706; /* Deep Yellow/Orange */
}
/* 3. Planning (BLUE - Optional suggestion) */
.status-badge.planning {
    background-color: #dbeafe;
    color: #2563eb; /* Deep Blue */
}
.project-status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.status-progress {
    background: #fef3c7;
    color: #d97706;
}

.status-planning {
    background: #e0e7ff;
    color: #4f46e5;
}

.status-complete {
    background: #d1fae5;
    color: #059669;
}

.project-card h3 {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.project-card p {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tags span {
    background: var(--light);
    color: var(--text);
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .section-subtitle {
        margin-top: -20px;
        font-size: 1rem;
    }
}

/* Styles for screens smaller than 768px (Tablets/Phones) */
@media (max-width: 768px) {
    .sidebar {
        display: none;
        /* Hide non-essential sidebars */
    }

    .main-content {
        width: 100%;
        /* Take up full width */
    }
}

/* Footer */
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
    background: var(--dark);
    color: white;
    width: 100%;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    /* Navbar is handled above */

    .hero h1 {
        font-size: 2.2rem;
    }

    .container,
    .bg-light {
        padding: 50px 5%;
    }

    .services-grid {
        grid-template-columns: 1fr;
        /* Stack vertically on mobile */
    }

    .booking-container {
        padding: 20px;
    }
}

.booking-container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 1rem;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.btn-full {
    width: 100%;
    cursor: pointer;
    border: none;
    font-size: 1.1rem;
}

.status-msg {
    margin-top: 15px;
    text-align: center;
    font-size: 0.9rem;
}

/* Booking Section */
.booking-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.booking-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.booking-feature {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.booking-feature:hover {
    transform: translateX(10px);
}

.booking-feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), #60a5fa);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.booking-feature-icon i {
    color: white;
    font-size: 1.2rem;
}

.booking-feature-text h4 {
    color: var(--dark);
    font-size: 1rem;
    margin-bottom: 5px;
}

.booking-feature-text p {
    color: var(--text);
    font-size: 0.85rem;
    margin: 0;
}

.booking-cta {
    display: flex;
    justify-content: center;
    align-items: center;
}

.booking-cta-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(37, 99, 235, 0.15);
    max-width: 350px;
}

.booking-cta-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.booking-cta-card h3 {
    color: var(--dark);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.booking-cta-card p {
    color: var(--text);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.booking-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 1rem;
}

.booking-btn i {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .booking-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .booking-cta-card {
        padding: 30px;
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 1rem;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.btn-full {
    width: 100%;
    cursor: pointer;
    border: none;
    font-size: 1.1rem;
}

.status-msg {
    margin-top: 15px;
    text-align: center;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.contact-card {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.contact-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.email-icon {
    background: linear-gradient(135deg, #ea4335, #fbbc05);
    color: white;
}

.whatsapp-icon {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
}

.phone-icon {
    background: linear-gradient(135deg, var(--primary), #60a5fa);
    color: white;
}

.location-icon {
    background: linear-gradient(135deg, #f43f5e, #fb7185);
    color: white;
}

.contact-card h3 {
    color: var(--dark);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.contact-card p {
    color: var(--text);
    font-size: 0.9rem;
    margin: 0;
    word-break: break-all;
    /* Fixes long email addresses overflow */
    line-height: 1.4;
}

/* Social Links */
.social-links {
    text-align: center;
    margin-top: 40px;
}

.social-links h3 {
    color: var(--dark);
    font-size: 1.3rem;
    margin-bottom: 25px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
}

.social-icon.linkedin {
    background: linear-gradient(135deg, #0077b5, #00a0dc);
}

.social-icon.github {
    background: linear-gradient(135deg, #333, #6e5494);
}

.social-icon.facebook {
    background: linear-gradient(135deg, #1877f2, #3b5998);
}

.social-icon.instagram {
    background: linear-gradient(135deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.map-container {
    width: 100%;
    border-radius: 15px;
    /* Rounded corners for a modern look */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.map-container iframe {
    display: block;
    /* Removes any gaps at the bottom */
}

.typewriter h1 {
    overflow: hidden;
    /* Hide text until it's "typed" */
    border-right: .15em solid #2563eb;
    /* The blinking cursor */
    white-space: nowrap;
    /* Keep text on one line */
    margin: 0 auto;
    letter-spacing: .15em;
    width: 0;
    /* Start with no width */

    /* steps(22) should match the number of characters in your text */
    animation:
        typing 3.5s steps(22, end) forwards,
        blink-caret .75s step-end infinite;
}

/* The typing effect: expanding width */
@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

/* The cursor blinking effect */
@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: #2563eb;
    }
}

/* --- MOBILE FIXES --- */
@media (max-width: 768px) {


    /* 2. Fix the Hero Section (The "Hi, I'm Ishor" part) */
    .hero-section {
        padding: 40px 20px;
        /* Give text some breathing room from the edges */
        text-align: center;
    }

    .hero-section h1 {
        font-size: 28px !important;
        /* Shrink the large heading */
        line-height: 1.2;
    }

    /* 3. Stack buttons vertically so they don't overlap */
    .button-group,
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    /* 4. Fix the Map and Images */
    iframe,
    img {
        max-width: 100% !important;
        height: auto !important;
    }

    /* 5. Fix "My Expertise" cards */
    .expertise-container,
    .services-grid {
        display: block;
        /* Stack cards on top of each other */
        padding: 10px;
    }

    .card {
        width: 100% !important;
        margin-bottom: 20px;
    }
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    border: 1px solid #f1f5f9;
}

.testimonial-quote {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 20px;
    opacity: 0.3;
}

.testimonial-text {
    font-style: italic;
    color: var(--text);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    overflow: hidden;
    /* Ensure image stays inside circle */
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--dark);
    font-size: 1rem;
    margin-bottom: 2px;
}

.author-info p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

/* Message Form Section */
.message-container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.message-container form {
    display: flex;
    flex-direction: column;
}

.message-container .form-group textarea {
    resize: vertical;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .message-container {
        padding: 25px;
    }
}

/* About Section Redesign */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-card-visual {
    width: 350px;
    height: 450px;
    background: transparent;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 20px 20px 0px var(--primary);
    transition: transform 0.3s ease;
}

.about-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.about-card-visual:hover {
    transform: translate(-5px, -5px);
    box-shadow: 25px 25px 0px var(--primary);
}

.visual-stat {
    position: absolute;
    background: white;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: float 3s ease-in-out infinite;
}

.visual-stat i {
    font-size: 1.5rem;
    color: var(--primary);
}

.visual-stat span {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9rem;
}

.stat-1 {
    top: 50px;
    left: -20px;
    animation-delay: 0s;
}

.stat-2 {
    bottom: 60px;
    right: -20px;
    animation-delay: 1.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.about-content .sub-heading {
    color: var(--primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.about-main-text {
    font-size: 1.1rem;
    color: var(--dark);
    line-height: 1.6;
    margin-bottom: 25px;
}

.about-description p {
    color: var(--text);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.about-stats-grid {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    border-top: 1px solid #f1f5f9;
    padding-top: 30px;
}

.stat-box h3 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 5px;
}

.stat-box p {
    color: var(--text);
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 900px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .about-visual {
        margin-bottom: 30px;
    }

    .section-title {
        text-align: center !important;
    }

    .about-stats-grid {
        justify-content: center;
    }

    .about-card-visual {
        width: 300px;
        height: 380px;
    }
}

/* Scroll to Top Button */
#scrollTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    font-size: 1.2rem;
    border: none;
    outline: none;
    background-color: var(--primary);
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, transform 0.3s;
}

#scrollTopBtn:hover {
    background-color: var(--secondary);
    transform: translateY(-5px);
}

/* Scroll Reveal Animation */
.reveal {
    position: relative;
    transform: translateY(50px);
    opacity: 0;
    transition: all 1s ease;
}

.reveal.active {
    transform: translateY(0);
    opacity: 1;

}
