
/* ========================================
   Allwin Computers - Premium Website Styles
   ======================================== */

/* === CSS Variables (Light Theme Only) === */
:root {
    --primary-color: #10b981; /* cyan green */
    --secondary-color: #14b8a6; /* teal cyan */
    --accent-color: #0ea5a5; /* cyan accent */
    --light-bg: #f8fafc; /* light surface */
    --page-bg: #ffffff; /* white background */
    --surface-bg: #ffffff; /* cards and sections */
    --text-dark: #0f172a; /* near black for readability */
    --text-light: #475569; /* slate */
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --header-bg: #ffffff; /* header white */
    --header-text: #0f172a; /* black text */
}

:/* === Global Styles === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--page-bg);
    overflow-x: hidden;
    font-weight: 450;
    letter-spacing: 0.01em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 { font-size: 2.75rem; font-weight: 900; }
h2 { font-size: 2.25rem; font-weight: 800; }
h3 { font-size: 1.65rem; font-weight: 700; }
h4 { font-size: 1.35rem; font-weight: 700; }

.lead {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

p {
    font-size: 1.05rem;
    line-height: 1.75;
    font-weight: 450;
    letter-spacing: 0.005em;
}

/* === Header & Navigation === */
.header {
    background: var(--header-bg);
    color: var(--header-text);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    padding-right: 2rem;
}

.logo .company-name {
    background: linear-gradient(135deg, #00d9ff 0%, #10b981 50%, #0d7377 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Fallback for browsers that don't support background-clip */
@supports not (background-clip: text) {
    .logo .company-name {
        color: #10b981;
        background: none;
        -webkit-text-fill-color: inherit;
    }
}

.header-right {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
}

/* Animated Laptop Logo */
.logo-icon {
    height: 1.8em;
    width: 3.2em;
    flex: 0 0 auto;
    vertical-align: middle;
    overflow: visible;
}

.logo-icon .laptop-screen {
    transform-origin: 80px 60px;
    animation: laptopOpen 6s ease-in-out infinite;
}

.logo-icon .wi-text {
    opacity: 0;
    animation: wiTextAppear 6s ease-in-out infinite, wiGlow 6s ease-in-out infinite;
}

/* Laptop opening animation */
@keyframes laptopOpen {
    0% {
        transform: rotateX(0deg) translateY(0);
    }
    15% {
        transform: rotateX(0deg) translateY(0);
    }
    30% {
        transform: rotateX(-90deg) translateY(-25px);
    }
    85% {
        transform: rotateX(-90deg) translateY(-25px);
    }
    100% {
        transform: rotateX(0deg) translateY(0);
    }
}

/* WI text fade in/out */
@keyframes wiTextAppear {
    0%, 15% {
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    85% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Pulsating glow effect for WI text */
@keyframes wiGlow {
    0%, 15%, 100% {
        filter: url(#textGlow) drop-shadow(0 0 0 rgba(0, 0, 0, 0));
    }
    30% {
        filter: url(#textGlow) drop-shadow(0 0 4px rgba(0, 0, 0, 0.4));
    }
    50% {
        filter: url(#textGlow) drop-shadow(0 0 8px rgba(0, 0, 0, 0.6));
    }
    70% {
        filter: url(#textGlow) drop-shadow(0 0 4px rgba(0, 0, 0, 0.4));
    }
    85% {
        filter: url(#textGlow) drop-shadow(0 0 2px rgba(0, 0, 0, 0.3));
    }
}

@keyframes logoRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: var(--header-text);
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
}

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

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

/* === Theme Toggle Button === */
/* theme toggle removed */

/* === Welcome Splash Screen === */
.welcome-splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.welcome-splash.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-content {
    text-align: center;
    color: var(--white);
    animation: splashPulse 1s ease-in-out;
}

.splash-icon {
    font-size: 5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    animation: iconGlow 1s ease-in-out infinite alternate;
}

.splash-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.5),
                 0 0 40px rgba(245, 158, 11, 0.3),
                 0 0 60px rgba(245, 158, 11, 0.2);
    animation: textGlow 1s ease-in-out;
}

.splash-tagline {
    font-size: 1.3rem;
    opacity: 0.9;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes splashPulse {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes iconGlow {
    0% {
        text-shadow: 0 0 10px rgba(245, 158, 11, 0.5),
                     0 0 20px rgba(245, 158, 11, 0.3);
        transform: scale(1);
    }
    100% {
        text-shadow: 0 0 30px rgba(245, 158, 11, 0.8),
                     0 0 60px rgba(245, 158, 11, 0.5),
                     0 0 90px rgba(245, 158, 11, 0.3);
        transform: scale(1.1);
    }
}

@keyframes textGlow {
    0% {
        text-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
    }
    50% {
        text-shadow: 0 0 30px rgba(245, 158, 11, 0.8),
                     0 0 60px rgba(245, 158, 11, 0.5),
                     0 0 100px rgba(245, 158, 11, 0.3);
    }
    100% {
        text-shadow: 0 0 20px rgba(245, 158, 11, 0.5),
                     0 0 40px rgba(245, 158, 11, 0.3);
    }
}

/* === Main Content Transitions === */
.main-content {
    opacity: 0;
    transform: translateY(20px);
    animation: contentReveal 0.6s ease forwards;
    animation-delay: 0.1s;
}

@keyframes contentReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Content exit animation class */
.main-content.content-exit {
    animation: contentExit 0.3s ease forwards;
}

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

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 10px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

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

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-light {
    background: var(--white);
    color: var(--primary-color);
}

.btn-light:hover {
    background: var(--light-bg);
}

/* === Hero Section === */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,165.3C1248,171,1344,149,1392,138.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

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

/* === Page Hero === */
.page-hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 80px 0 60px;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

/* Hero Service Badges */
.hero-services-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.service-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-badge i {
    color: var(--accent-color);
    font-size: 1rem;
}

/* Anchor scroll offset so sticky header doesn't cover targets */
.service-detail {
    scroll-margin-top: 120px;
}

/* === Stats Section === */
.stats {
    background: var(--surface-bg);
    padding: 60px 0;
    box-shadow: var(--shadow);
}

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

.stat-item {
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease;
}

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

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

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-light);
    font-weight: 500;
}

/* === Section Styles === */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.text-center {
    text-align: center;
    margin-top: 2rem;
}

/* === About Preview === */
.about-preview {
    background: var(--light-bg);
}

.about-preview .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.features-list {
    list-style: none;
    margin: 2rem 0;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.features-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* === Services Grid === */
.services-preview {
    background: var(--surface-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: var(--surface-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

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

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* === Why Choose Us === */
.why-choose {
    background: var(--light-bg);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.reason-item {
    text-align: center;
    padding: 2rem;
    background: var(--surface-bg);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.reason-item i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.reason-item h3 {
    margin-bottom: 0.5rem;
}

.reason-item p {
    color: var(--text-light);
}

/* === Testimonials === */
.testimonials {
    background: var(--surface-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.testimonial-card .stars {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.testimonial-card h4 {
    color: var(--primary-color);
    font-weight: 600;
}

/* === CTA Section === */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* === Founder Section === */
.founder-section {
    background: var(--surface-bg);
}

.founder-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.founder-image {
    position: sticky;
    top: 100px;
}

.photo-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.photo-frame img {
    width: 100%;
    height: auto;
}

.photo-placeholder {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.photo-placeholder i {
    font-size: 6rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.photo-placeholder p {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.photo-placeholder span {
    font-size: 1rem;
    opacity: 0.9;
}

.founder-bio h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.achievement-list {
    list-style: none;
    margin: 2rem 0;
}

.achievement-list li {
    display: flex;
    align-items: start;
    gap: 10px;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.achievement-list i {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-top: 3px;
}

/* === Company Story === */
.company-story {
    background: var(--light-bg);
}

.story-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

/* === Values Section === */
.values-section {
    background: var(--surface-bg);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.value-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.value-card h3 {
    margin-bottom: 0.5rem;
}

.value-card p {
    color: var(--text-light);
}

/* === Team Section === */
.team-section {
    background: var(--light-bg);
}

.team-info {
    max-width: 900px;
    margin: 0 auto;
}

.team-expertise {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.expertise-item {
    background: var(--surface-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
}

.expertise-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.expertise-item h4 {
    margin-bottom: 0.5rem;
}

.expertise-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* === Stats Detailed === */
.stats-detailed {
    background: var(--white);
}
.services-main {
    background: var(--surface-bg);
}

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

.stat-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

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

.stat-card h3 {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* === Why Choose About === */
.why-choose-about {
    background: var(--light-bg);
}

.trust-reasons {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.trust-item {
    display: flex;
    gap: 2rem;
    background: var(--surface-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    align-items: start;
}

.trust-icon {
    background: var(--primary-color);
    color: var(--white);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-icon i {
    font-size: 2rem;
}

.trust-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.trust-content p {
    color: var(--text-light);
    line-height: 1.7;
}

/* === Services Main === */
.services-intro {
    background: var(--light-bg);
    padding: 40px 0;
}

.services-intro .lead {
    font-size: 1.2rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-dark);
}

.services-main {
    background: var(--surface-bg);
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: start;
}

.service-detail.reverse {
    grid-template-columns: 2fr 1fr;
}

.service-detail.reverse .service-image {
    order: 2;
}

.service-detail.reverse .service-content {
    order: 1;
}

.service-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.service-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.service-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--surface-bg);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.service-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.service-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-description {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-content h3 {
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    margin: 1rem 0;
}

.service-features li {
    display: flex;
    align-items: start;
    gap: 10px;
    margin-bottom: 0.8rem;
    padding-left: 0;
}

.service-features i {
    color: var(--primary-color);
    margin-top: 3px;
    flex-shrink: 0;
}

.service-note {
    background: var(--light-bg);
    padding: 1rem;
    border-left: 4px solid var(--accent-color);
    margin-top: 1.5rem;
    border-radius: 4px;
}

/* === Service Benefits === */
.service-benefits {
    background: var(--light-bg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--surface-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
}

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

.benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.benefit-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* === Contact Section === */
.contact-section {
    background: var(--surface-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info-block h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.contact-icon {
    background: var(--primary-color);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
}

.contact-text h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-text p {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-text a {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-text a:hover {
    text-decoration: underline;
}

.small-text {
    font-size: 0.9rem;
    font-style: italic;
}

/* === Social Connect === */
.social-connect {
    margin-top: 3rem;
}

.social-connect h3 {
    margin-bottom: 1rem;
}

.social-links-large {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-btn.facebook {
    background: #1877f2;
    color: var(--white);
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--white);
}

.social-btn.whatsapp {
    background: #25d366;
    color: var(--white);
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* === Contact Form === */
.contact-form-block {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.contact-form-block h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form-note {
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 1rem;
}

/* === Map Section === */
.map-section {
    background: var(--light-bg);
    padding-top: 80px;
}

.map-container {
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-container iframe {
    display: block;
}

.directions-info {
    background: var(--surface-bg);
    padding: 3rem;
    border-radius: 12px;
    margin-top: 3rem;
    box-shadow: var(--shadow);
}

.directions-info h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.directions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.direction-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 8px;
}

.direction-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.direction-item h4 {
    margin-bottom: 0.5rem;
}

.direction-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* === FAQ Section === */
.faq-section {
    background: var(--surface-bg);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: start;
    gap: 10px;
}

.faq-item i {
    font-size: 1.3rem;
    margin-top: 2px;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* === Footer === */
.footer {
    background: var(--surface-bg);
    color: var(--text-dark);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    justify-items: start; /* ensure columns align to the left */
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.footer-col p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
    text-align: left;
}

.footer-col ul li a {
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

/* Left-align footer column content */
.footer-col {
    text-align: left;
}

.contact-info li {
    display: flex;
    align-items: start;
    gap: 10px;
    margin-bottom: 1rem;
}

.contact-info i {
    color: var(--accent-color);
    margin-top: 3px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: flex-start; /* align icons to the left */
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface-bg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

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

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

.footer-bottom {
    text-align: center; /* center align footer note */
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    grid-column: 1 / -1; /* span full width of footer grid */
    justify-self: stretch; /* override grid justify-items to allow full-width centering */
    width: 100%;
}

/* === Responsive Design === */
@media (max-width: 1024px) {
    .about-preview .container,
    .founder-content,
    .service-detail,
    .service-detail.reverse,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .service-detail.reverse .service-image,
    .service-detail.reverse .service-content {
        order: initial;
    }

    .founder-image {
        position: static;
    }

    .header-right {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: row;
        gap: 1rem;
        justify-content: flex-start;
    }

    .logo {
        margin-right: 0;
        padding-right: 1rem;
    }

    .header-right {
        width: auto;
        justify-content: flex-start;
        margin-left: auto;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 0.5rem;
        flex: 1;
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .section-title {
        font-size: 2rem;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .stats .container,
    .services-grid,
    .reasons-grid,
    .testimonials-grid,
    .values-grid,
    .team-expertise,
    .stats-grid,
    .benefits-grid,
    .directions-grid,
    .faq-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .service-image img {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    section {
        padding: 50px 0;
    }

    .hero {
        padding: 80px 0 50px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .header-right {
        flex-direction: column;
        gap: 0.5rem;
    }

    .nav {
        order: 2;
        width: 100%;
    }

    .theme-toggle {
        order: 1;
        align-self: flex-end;
    }

    /* Responsive Splash Screen */
    .splash-title {
        font-size: 1.8rem;
    }

    .splash-icon {
        font-size: 3rem;
    }

    .splash-tagline {
        font-size: 1rem;
    }
}

/* === Login Modal === */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    border-radius: 12px;
    padding: 40px;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

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

.modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 32px;
    font-weight: 300;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-dark);
}

.modal-content h2 {
    margin-bottom: 30px;
    color: var(--text-dark);
    text-align: center;
    font-size: 1.8rem;
}

.modal-content .form-group {
    margin-bottom: 20px;
}

.modal-content label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.modal-content input[type="text"],
.modal-content input[type="email"],
.modal-content input[type="tel"],
.modal-content input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.modal-content input[type="text"]:focus,
.modal-content input[type="email"]:focus,
.modal-content input[type="tel"]:focus,
.modal-content input[type="password"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.modal-content .btn {
    width: 100%;
    margin-top: 10px;
    padding: 14px;
    font-size: 1rem;
}

.login-error {
    margin-top: 15px;
    padding: 12px;
    background-color: #fee;
    color: #c33;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
    display: none;
}

.login-error.show {
    display: block;
    animation: shake 0.4s ease;
}

.login-success {
    margin-top: 15px;
    padding: 12px;
    background-color: #e6ffed;
    color: #1a7f37;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
    display: none;
}

.login-success.show {
    display: block;
}

.modal-footer-link {
    margin-top: 20px;
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
}

.modal-footer-link a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.modal-footer-link a:hover {
    text-decoration: underline;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 30px 20px;
        width: 95%;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
    }
}
