@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;600;700&display=swap');

:root {
    --primary: #f26522;
    --primary-dark: #d4561d;
    --secondary: #ffde17;
    --accent: #43121b;
    --footer-bg: #ffffff;
    --footer-text: #333333;
    --text-dark: #1a1a1a;
    --text-light: #f4f4f4;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 15px 35px rgba(0,0,0,0.1);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

h1, h2, h3, h4, .outfit {
    font-family: 'Outfit', sans-serif;
}

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

/* Base Styles */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

.section-padding {
    padding: 80px 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(242, 101, 34, 0.3);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--accent);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 222, 23, 0.3);
}

/* Navigation */
nav {
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

nav.scrolled {
    height: 70px;
    background: rgba(255, 255, 255, 0.98);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 70px;
    width: auto;
    transition: var(--transition);
}

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

.nav-links a {
    font-weight: 500;
    font-size: 15px;
}

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

.mobile-only {
    display: none;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--white);
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 1s ease-out 0.5s;
}

.slide.active .hero-content {
    transform: translateY(0);
    opacity: 1;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 25px;
    line-height: 1.1;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    text-align: center;
}

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

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

.service-card h3 {
    margin-bottom: 15px;
    color: var(--accent);
}

/* About Page Styles */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 992px) {
    .about-grid {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    .about-grid img {
        order: 2; /* Image below text on mobile */
        width: 100%;
    }
}

/* Generic Content Grid for Service Pages */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

/* Specific ratios if needed */
.grid-split-1-2 { grid-template-columns: 1.2fr 1fr; }
.grid-split-2-1 { grid-template-columns: 1fr 1.2fr; }

@media (max-width: 992px) {
    .content-grid {
        gap: 30px;
        grid-template-columns: 1fr !important;
    }
    
    .content-grid img {
        width: 100% !important;
        margin-top: 20px;
    }
    
    .content-grid div:nth-child(2) {
        order: 2; /* Ensure image is below text */
    }
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 100px 0 40px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #eee;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

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

.footer-col h4 {
    color: var(--primary);
    margin-bottom: 30px;
    font-size: 1.3rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

.footer-logo {
    height: 75px !important;
    width: auto;
    margin-bottom: 25px;
}

.footer-col p, .footer-col li {
    margin-bottom: 12px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #555;
}

.footer-col a {
    color: #333;
    transition: var(--transition);
}

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

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid #eee;
    color: #333;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-5px);
    border-color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid #eee;
    padding-top: 40px;
    text-align: center;
    font-size: 14px;
    opacity: 0.8;
    color: #444;
}

.footer-bottom span {
    color: var(--secondary);
    font-weight: 600;
}

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

.animate {
    animation: fadeIn 0.8s ease forwards;
}

/* Mobile Responsive */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    width: 30px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
    transition: var(--transition);
}

@media (max-width: 1024px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: 0.5s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 1000;
    }

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

    .nav-links a {
        font-size: 1.2rem;
        width: 100%;
        text-align: center;
    }

    .nav-container .btn {
        display: none;
    }

    .nav-links .nav-btn {
        background: var(--primary);
        color: var(--white) !important;
        padding: 12px 25px;
        border-radius: 30px;
        margin-top: 20px;
        font-weight: 600;
        text-align: center;
        display: block;
    }

    .mobile-only {
        display: block !important;
    }

    .container {
        padding: 0 30px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

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

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    nav {
        height: 70px;
    }

    .logo img {
        height: 70px;
    }

    .hero-slider {
        height: 80vh;
    }

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

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

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-col {
        text-align: left;
    }

    .footer-col p, .footer-col li {
        justify-content: flex-start;
    }

    .footer-socials {
        justify-content: flex-start;
    }

    .stats-grid {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
        width: 100%;
        margin-bottom: 10px;
    }
}

.sub-header {
    height: 350px;
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)), url('assets/images/sub_header_bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 80px;
    position: relative;
    z-index: 1;
}

.sub-header h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.sub-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .sub-header {
        height: 250px;
        margin-top: 70px;
    }
    .sub-header h1 {
        font-size: 2.2rem;
    }
}
/* About Image Collage */
.about-image-collage {
    position: relative;
    height: 480px;
    width: 100%;
}

.collage-img {
    position: absolute;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: var(--transition);
    border: 5px solid var(--white);
    object-fit: cover;
}

.collage-img-1 {
    width: 80%;
    height: 350px;
    top: 0;
    left: 0;
    z-index: 2;
}

.collage-img-2 {
    width: 65%;
    height: 280px;
    bottom: 0;
    right: 0;
    z-index: 3;
}

.collage-img:hover {
    transform: translateY(-10px) scale(1.02);
    z-index: 4;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .about-image-collage {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .collage-img {
        position: static;
        width: 100%;
        height: 300px;
    }
}
/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #FFF;
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}
