:root {
    --primary: #2c3e50;
    --secondary: #3498db;
    --accent: #e74c3c;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --success: #27ae60;
    --warning: #f39c12;
    --text: #333;
    --text-light: #666;
    --white: #ffffff;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Top Bar */
.top-bar {
    background: var(--primary);
    color: var(--light);
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.top-bar .contact-info span {
    margin-right: 1.5rem;
}

.top-bar .contact-info i {
    margin-right: 0.5rem;
    color: var(--secondary);
}

.top-bar .social-links a {
    color: var(--light);
    margin-left: 1rem;
    transition: var(--transition);
}

.top-bar .contact-info a {
    color: var(--light);
    text-decoration: none;
    transition: var(--transition);
    margin-left: 10px;
}

.top-bar .contact-info a:hover {
    color: var(--secondary);
}


/* Navigation with larger logo */
.navbar {
    background: var(--white);
    padding: 0;
    position: sticky;
    top: 0; /* Will stick to the top after the top-bar scrolls away */
    z-index: 1000;
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    flex-shrink: 0; /* Prevents the logo from shrinking */
}

.logo h3 {
    color: var(--primary);
    font-size: 1rem;
    white-space: nowrap; /* Prevents the logo text from wrapping */
}

.logo span {
    font-size: 0.8rem;
    vertical-align: super;
}

.logo p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: -5px;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-left: 2rem; /* Add space between logo and menu */
    align-items: center;
}

.nav-menu a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    font-size: smaller;
}

.nav-menu a:hover {
    color: var(--secondary);
}

.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    background: var(--white);
    min-width: 250px;
    box-shadow: var(--shadow);
    border-radius: 0 0 8px 8px; /* Rounded corners at the bottom */
    top: calc(100% + 5px); /* Add a small gap */
    left: 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    border-top: 3px solid var(--secondary); /* Accent color border */
}

.dropdown-content a {
    display: block;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--light);
    transition: var(--transition);
    color: var(--text);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: var(--light);
    color: var(--secondary);
    padding-left: 1.5rem; /* Indent on hover */
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 3px 0;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-menu.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}


/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 8rem 2rem 4rem;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
}

.hero-image {
    flex: 1;
    text-align: center;
}

/* About Intro Section */
.about-intro {
    padding: 4rem 0;
    background: var(--white);
}

.about-intro-content {
    max-width: 900px; /* Increased width for more content */
    margin: 0 auto; /* Center the block */
    text-align: left; /* Align text left within the block */
}

.about-intro-content h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.3;
    text-align: center; /* Keep heading centered */
}

.about-intro-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}
.about-intro-content p {
    text-align: justify; 
}

.about-intro-content p:last-of-type {
    margin-bottom: 2rem;
}

.about-intro-content strong {
    color: var(--secondary);
    font-weight: 600;
}

.about-intro-content .btn {
    display: block; /* Make button a block element */
    margin: 0 auto; /* Center the block button */
    width: fit-content; /* Adjust width to content */
}

/* Stats Section */
.stats {
    background: var(--light);
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

/* Services Overview */
.services-overview {
    padding: 6rem 0;
    background: var(--white);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--light);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--secondary);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    display: inline-block;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.cta h2 {
    margin-bottom: 1rem;
}

.cta p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 8rem 0 4rem;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Vision & Mission */
.vision-mission {
    padding: 4rem 0;
    background: var(--light);
}

.vm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.vm-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
}

.vm-card i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

/* Values */
.values {
    padding: 4rem 0;
    background: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Default to 3 columns */
    gap: 2rem;
    margin-top: 3rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
}

.value-item i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

/* Why Choose Us */
.why-choose {
    padding: 4rem 0;
    background: var(--light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Default to 3 columns */
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
    padding: 2rem;
}

.feature i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}
/* Founder Profile */
.founder-profile {
    padding: 4rem 0;
    background: var(--white);
}

.founder-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.founder-image img {
    width: 100%;
    max-width: 300px;
    border-radius: 50%;
    box-shadow: var(--shadow);
    border: 5px solid var(--light);
}

.founder-details {
    text-align: justify;
}

.founder-details h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.founder-details .founder-credentials {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.founder-details .founder-role {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.founder-details .founder-contact {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.founder-details .founder-contact i {
    margin-right: 0.5rem;
    color: var(--accent);
}

.founder-details p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

.founder-details .social-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

.founder-details .social-links a {
    width: 45px;
    height: 45px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.3rem;
    transition: var(--transition);
}

.founder-details .social-links a:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-3px);
}

/* Why Choose Us */
.why-choose-intro {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    text-align: center;
    font-size: 1.15rem;
    line-height: 1.8;
}

/* How We Work */
.how-we-work {
    padding: 4rem 0;
    background: var(--white);
}

.how-we-work .section-title {
    margin-bottom: 1rem;
}

.how-we-work .section-subtitle {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    font-size: 1.15rem;
    line-height: 1.8;
}

.flow-diagram-placeholder {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-diagram-placeholder img {
    max-width: 100%;
    height: auto;
    max-height: 600px; /* Adjust as needed */
}

.how-we-work-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.how-we-work-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.process-step-card {
    background: var(--light);
    padding: 2rem;
    border-radius: 10px;
    text-align: left;
    box-shadow: var(--shadow);
    position: relative;
    padding: 1.5rem 1.5rem 1.5rem 4rem;
}

.process-step-card .step-number {
    position: absolute;
    top: 2rem;
    left: 1.5rem;
    width: 40px;
    height: 40px;
    background: var(--secondary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
}

.process-step-card h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.process-step-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.process-step-card .outcome {
    font-style: italic;
    color: var(--accent);
    font-weight: 500;
    margin-top: 1rem;
}

.commitment-section {
    background: var(--primary);
    color: var(--white);
    padding: 3rem;
    border-radius: 10px;
    margin-top: 4rem;
    text-align: center;
}

.commitment-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.commitment-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

@media (max-width: 992px) {
    .how-we-work-grid {
        grid-template-columns: 1fr;
    }
    .top-bar-content {
        flex-direction: column;
        gap: 0.5rem;
    }

    .navbar {
        position: static; /* On mobile, navbar doesn't need to be sticky */
    }

    .hamburger {
        display: flex;
        z-index: 1001; /* Ensure it's above the menu */
    }

    .nav-menu {
        display: flex; /* Keep as flex for alignment */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 1rem 0;
        box-shadow: var(--shadow);
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        pointer-events: none; /* Prevent interaction when hidden */
        margin-left: 0; /* Reset margin for mobile */
    }

    .flow-diagram-placeholder {
        margin-bottom: 2rem;
    }
    .values-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }
    .service-detail-layout {
        grid-template-columns: 1fr;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 6rem 1rem 2rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .values-grid, .features-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
}

@media (max-width: 768px) {
    .founder-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .founder-details {
        text-align: center;
    }
    .founder-details .social-links {
        justify-content: center;
    }
}

/* Service Detail Page Layout */
.service-detail-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}

.service-main-content {
    grid-column: 1 / 2;
}

.service-sidebar {
    grid-column: 2 / 3;
    position: sticky;
    top: 120px; /* Adjust based on navbar height */
}

.service-image-placeholder {
    background: var(--light);
    border: 2px dashed var(--secondary);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
}

.service-image-placeholder img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
}