:root {
    --primary: #dc2626; /* Deep Red */
    --primary-hover: #b91c1c;
    --secondary: #1e40af; /* Royal Blue */
    --secondary-hover: #1e3a8a;
    --accent: #3b82f6;
    --white: #ffffff;
    --bg-light: #f8fafc;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 800;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Layout Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

/* Header & Nav */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 80px;
    overflow: hidden;
}

.logo img {
    height: 350px !important;
    width: auto !important;
    max-width: none !important;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 70px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: white;
    border-radius: 8px;
    padding: 5px;
}

.footer-logo img {
    height: 300px !important;
    width: auto !important;
    max-width: none !important;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

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

.btn-cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-cta:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.2);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--secondary) 0%, #000 100%);
    color: var(--white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/hero_bg.png') center/cover;
    opacity: 0.3;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #e2e8f0;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

/* Cards & Components */
.card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #f1f5f9;
}

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

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

/* Premium Service Cards */
.service-card-premium {
    padding: 2.5rem 2rem !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.service-card-premium:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.service-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card-premium:hover .service-icon-box {
    transform: scale(1.1) rotate(5deg);
}

.service-link {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
}

.service-link i {
    transition: var(--transition);
}

.service-card-premium:hover .service-link i {
    transform: translateX(5px);
}

/* Footer */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

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

.footer-col h4 {
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #1e293b;
    color: #64748b;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-col {
        text-align: center;
    }
    .footer-links li {
        margin-bottom: 1rem;
    }
}


/* Mobile Responsive */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary);
}

.mobile-only {
    display: none;
}

@media (max-width: 992px) {
    .section {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem !important;
    }

    .hero-content {
        text-align: center;
        margin-bottom: 2rem;
    }

    .hero-btns {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-content > div[style*="display: flex"] {
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .logo {
        width: 165px !important;
        height: 60px !important;
    }

    .logo img {
        height: 260px !important;
    }

    .nav-cta {
        display: none;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        align-items: center;
        padding-top: 2rem;
        transition: 0.3s;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-only {
        display: block;
        margin-top: 1rem;
    }

    .hero {
        padding: 4rem 0 !important;
    }

    /* Stack Grids and Columns */
    [style*="display: grid"], .grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* Fix horizontal overflow */
    .container {
        width: 100%;
        padding: 0 1rem;
        overflow-x: hidden;
    }

    /* Hero Responsive */
    .hero .container > div {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        gap: 2.5rem !important;
    }
    
    .hero h1 {
        font-size: 2.2rem !important;
        text-align: center !important;
    }

    .hero p {
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }

    .hero-btns {
        flex-direction: column !important;
        width: 100% !important;
        align-items: center !important;
    }
    
    .hero-btns a {
        width: 100% !important;
        max-width: 350px !important;
        text-align: center !important;
        justify-content: center !important;
    }
    
    .hero-content > div[style*="display: flex"] {
        flex-direction: column !important;
        gap: 0.8rem !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .hero-content > div[style*="display: flex"] > div {
        justify-content: center !important;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 2rem 1rem !important;
    }

    .area-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
    }

    .home-services-grid {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1.5rem !important;
        padding-bottom: 1.5rem;
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }

    .home-services-grid::-webkit-scrollbar {
        display: none; /* Chrome, Safari and Opera */
    }

    .home-services-grid .card {
        min-width: 80%;
        scroll-snap-align: center;
        flex-shrink: 0;
        padding: 1.5rem !important;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        border: 1px solid #edf2f7;
    }

    .service-card-premium {
        align-items: center !important;
        text-align: center !important;
    }

    .service-link {
        justify-content: center;
    }

    .home-services-grid .card div {
        margin-left: auto;
        margin-right: auto;
    }

    .home-services-grid .card h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .home-services-grid .card p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .process-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 2rem 1rem !important;
    }

    .contact-form {
        grid-template-columns: 1fr !important;
    }

    .full-width {
        grid-column: span 1 !important;
    }

    .contact-map {
        height: 300px !important;
    }

    .agra-hero-grid {
        gap: 2rem !important;
    }

    .shifting-info-grid {
        gap: 2rem !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        gap: 3rem !important;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-links {
        padding: 0;
        text-align: center;
    }

    .social-links {
        justify-content: center !important;
    }

    .copyright {
        text-align: center !important;
    }

    .hero-content {
        max-width: 100% !important;
        margin-bottom: 2rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Better Card Spacing */
.card {
    border: 1px solid rgba(0,0,0,0.05) !important;
}

.card:hover {
    box-shadow: var(--shadow-premium) !important;
}
