/* Custom Properties / Tokens */
:root {
    /* Colors */
    --primary-color: #0ea5e9; /* Light Blue */
    --primary-dark: #0284c7;
    --secondary-color: #0f172a; /* Dark Slate */
    --accent-color: #38bdf8;
    --text-main: #334155;
    --text-light: #64748b;
    --white: #ffffff;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;
    --success: #10b981;
    --danger: #ef4444;

    /* Typography */
    --font-family: 'Outfit', sans-serif;
    
    /* Layout */
    --max-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-glow: 0 0 20px rgba(14, 165, 233, 0.4);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Adjust based on header height */
}

body {
    font-family: var(--font-family);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.bg-light { background-color: var(--bg-light); }

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--secondary-color);
    font-weight: 700;
    line-height: 1.2;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(14, 165, 233, 0.1);
    color: var(--primary-color);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(14, 165, 233, 0.4);
}

.btn-secondary {
    background-color: var(--success);
    color: var(--white);
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3);
}

.btn-secondary:hover {
    background-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(16, 185, 129, 0.4);
}

/* 1. Header Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--bg-gray);
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.logo-text h1 {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin: 0;
    line-height: 1.1;
}

.logo-text span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

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

.header-contact {
    display: flex;
    align-items: center;
}

.emergency-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 100px;
    transition: var(--transition);
}

.emergency-btn:hover {
    background-color: var(--primary-color);
    transform: scale(1.05);
}

.emergency-btn i {
    font-size: 1.25rem;
    color: var(--accent-color);
}

.call-text {
    display: flex;
    flex-direction: column;
}

.call-text .small-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    opacity: 0.8;
    line-height: 1;
}

.call-text .number {
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.2;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary-color);
    cursor: pointer;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: var(--transition);
    animation: float 3s ease-in-out infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background-color: #1ebe5d;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* 2. Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('assets/hero_bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.7) 50%, rgba(15, 23, 42, 0.3) 100%);
    z-index: 1;
}

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

.hero-text {
    max-width: 650px;
    color: var(--white);
}

.hero-text .main-headline {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    line-height: 1.1;
    animation: slideUp 0.8s ease-out;
}

.hero-text .tagline {
    font-size: 2rem;
    color: var(--accent-color);
    font-weight: 400;
    margin-bottom: 1.5rem;
    animation: slideUp 1s ease-out;
}

.hero-text .sub-text {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
    animation: slideUp 1.2s ease-out;
}

.hero-cta {
    display: flex;
    gap: 16px;
    animation: slideUp 1.4s ease-out;
}

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

/* 3. About Us Section */
.about {
    padding: 100px 0;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

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

.image-wrapper img {
    transition: var(--transition);
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 30px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
    border: 8px solid var(--white);
    width: 140px;
    height: 140px;
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
    text-transform: uppercase;
    text-align: center;
    font-weight: 600;
}

.about-content .lead-text {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.proprietor-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--bg-light);
    padding: 24px;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.proprietor-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.card-info h3 {
    margin-bottom: 4px;
    font-size: 1.25rem;
}

.card-info .role {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.card-info .expertise {
    font-size: 0.9rem;
    color: var(--text-light);
}

.card-info .expertise i {
    color: var(--success);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background-color: var(--white);
    border: 1px solid var(--bg-gray);
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: var(--transition);
}

.highlight-item:hover {
    border-color: var(--primary-color);
    background-color: var(--bg-light);
}

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

/* 4. Our Services Section */
.services {
    padding: 100px 0;
}

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

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    transition: var(--transition);
    z-index: -1;
}

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

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--bg-light);
    color: var(--primary-color);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: rgba(255,255,255,0.2);
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
    transition: var(--transition);
}

.service-card:hover h3,
.service-card:hover p {
    color: var(--white);
}

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

.service-banner {
    background: linear-gradient(to right, var(--secondary-color), #1e293b);
    border-radius: var(--radius-md);
    padding: 30px;
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 24px;
}

.banner-icon {
    font-size: 3rem;
    color: var(--accent-color);
}

.banner-content h3 {
    color: var(--white);
    margin-bottom: 4px;
}

.banner-content p {
    opacity: 0.8;
}

/* 5. AMC Section */
.amc-section {
    padding: 100px 0;
    background-color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.amc-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
}

.amc-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.amc-content {
    max-width: 600px;
    color: var(--white);
}

.amc-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.amc-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.amc-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 2rem;
}

.amc-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.amc-benefits li i {
    color: #10b981;
    background: white;
    border-radius: 50%;
    padding: 4px;
    font-size: 0.8rem;
}

.amc-visual {
    flex-shrink: 0;
}

.shield-graphic {
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 40px rgba(0,0,0,0.1);
    animation: pulse 3s infinite;
}

.shield-graphic i {
    font-size: 5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.5));
}

.shield-graphic span {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 40px rgba(0,0,0,0.1); }
    50% { transform: scale(1.05); box-shadow: 0 0 60px rgba(255,255,255,0.2); }
    100% { transform: scale(1); box-shadow: 0 0 40px rgba(0,0,0,0.1); }
}

/* 7. Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo-icon {
    color: var(--accent-color);
}

.footer-brand .logo-text h2 {
    color: var(--white);
    font-size: 1.25rem;
    margin: 0;
}

.footer-brand .logo-text span {
    color: var(--accent-color);
}

.tagline-footer {
    opacity: 0.7;
    margin: 20px 0;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: var(--transition);
}

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

.footer-contact h3, .footer-map h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.footer-contact h3::after, .footer-map h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
    opacity: 0.8;
    transition: var(--transition);
}

.contact-list li:hover {
    opacity: 1;
    color: var(--accent-color);
}

.contact-list li i {
    margin-top: 4px;
    color: var(--accent-color);
}

.footer-bottom {
    background-color: #0b1120;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-text .main-headline { font-size: 3rem; }
    .about-container { grid-template-columns: 1fr; }
    .about-image { margin-bottom: 40px; }
    .experience-badge { right: 20px; }
}

@media (max-width: 992px) {
    .amc-container { flex-direction: column; text-align: center; gap: 40px; }
    .amc-benefits { text-align: left; max-width: 400px; margin: 0 auto 2rem; }
    .footer-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .header-contact { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-text .main-headline { font-size: 2.5rem; }
    .hero-text .tagline { font-size: 1.5rem; }
    .hero-cta { flex-direction: column; }
    .why-choose-grid { grid-template-columns: 1fr; }
    .footer-bottom .container { flex-direction: column; gap: 10px; }
    
    /* Mobile Menu Active State */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 20px;
        box-shadow: var(--shadow-md);
        border-top: 1px solid var(--bg-gray);
    }
}
