/* --- Variables & Reset --- */
:root {
    --primary: #091B49;    /* Dark Blue */
    --secondary: #0478AC;  /* Bright Blue */
    --accent: #00d2ff;     /* Light Cyan */
    --light: #f8f9fa;
    --dark: #1a1a1a;
    --text-grey: #666;
    --white: #ffffff;
    --font-main: 'Poppins', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-main);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* --- Utilities --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-primary { background: var(--secondary); color: var(--white); border: 2px solid var(--secondary); }
.btn-primary:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-3px); }
.btn-outline { border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }

.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2.5rem; color: var(--primary); margin-bottom: 10px; }
.section-title span { color: var(--secondary); font-weight: 700; }
section { padding: 80px 0; }

/* --- Header --- */
header {
    background: var(--primary);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.8rem; font-weight: 800; color: var(--white); }
.logo span { color: var(--secondary); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--white); font-weight: 500; position: relative; }
.nav-links a::after {
    content: ''; position: absolute; width: 0; height: 2px;
    bottom: -5px; left: 0; background-color: var(--secondary); transition: 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--secondary); }

/* --- Hero Section & Bubbles --- */
.hero {
    /* Fallback image if user doesn't add one, otherwise uses asset */
    background: linear-gradient(135deg, rgba(9, 27, 73, 0.9), rgba(4, 120, 172, 0.8)), url('assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.page-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 100px 0 60px;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero h1, .page-header h1 { font-size: 3.5rem; margin-bottom: 20px; font-weight: 800; }
.hero p { font-size: 1.2rem; margin-bottom: 30px; max-width: 600px; margin: 0 auto 30px; opacity: 0.9; }

/* Animated Bubbles */
.bubble {
    position: absolute;
    bottom: -50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: floatUp 10s linear infinite;
    z-index: 1;
}
@keyframes floatUp {
    0% { transform: translateY(0); opacity: 0; }
    50% { opacity: 0.6; }
    100% { transform: translateY(-100vh); opacity: 0; }
}

/* --- Features / Cards --- */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.process-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}
.process-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.process-icon { font-size: 3rem; color: var(--secondary); margin-bottom: 20px; }
.process-step { position: absolute; top: 10px; right: 20px; font-size: 4rem; font-weight: 900; color: rgba(0,0,0,0.03); }

/* --- Services Grid --- */
.service-card {
    background: white;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 15px;
    transition: 0.3s;
    height: 100%;
}
.service-card:hover { border-color: var(--secondary); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.service-card h3 { color: var(--primary); margin-bottom: 15px; }

/* --- Pricing --- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.price-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
    transition: 0.3s;
}
.price-card:hover { transform: scale(1.02); }
.price-header { background: var(--primary); color: var(--white); padding: 30px; text-align: center; }
.price-header h3 { font-size: 1.5rem; }
.price-header .price { font-size: 2.5rem; font-weight: 800; margin: 10px 0; }
.price-body { padding: 30px; }
.price-body li { margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.check-icon { color: var(--secondary); }

/* --- Stats --- */
.stats-section { background: var(--secondary); color: var(--white); padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); text-align: center; gap: 30px; }
.stat-number { font-size: 3rem; font-weight: 800; display: block; }

/* --- Footer --- */
footer { background: var(--primary); color: var(--white); padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a:hover { color: var(--secondary); padding-left: 5px; }
.copyright { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 0.9rem; }

/* --- Floating Icons --- */
.floating-container { position: fixed; bottom: 30px; right: 30px; display: flex; flex-direction: column; gap: 15px; z-index: 999; }
.float-btn {
    width: 60px; height: 60px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.8rem; box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.float-wa { background: #25D366; }
.float-wa:hover { transform: scale(1.1); }

/* --- Mobile Nav --- */
.hamburger { display: none; font-size: 1.5rem; color: white; cursor: pointer; }
@media (max-width: 768px) {
    .nav-links {
        display: none; position: absolute; top: 100%; left: 0; width: 100%;
        background: var(--primary); flex-direction: column; padding: 20px; text-align: center;
    }
    .nav-links.active { display: flex; }
    .hamburger { display: block; }
    .hero h1 { font-size: 2.5rem; }
}
/* --- Add to bottom of style.css --- */

/* Logo Image Styling */
.logo img {
    height: 40px;
    vertical-align: middle;
    margin-right: 10px;
}

/* Service Card Images */
.service-img-container {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
    background: #f0f0f0; /* Gray placeholder background */
}

.service-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills the box without stretching */
    transition: transform 0.4s ease;
}

.service-card:hover .service-img-container img {
    transform: scale(1.1); /* Zoom effect on hover */
}
/* --- Add to style.css --- */

.social-icon-btn {
    width: 45px;
    height: 45px;
    background: var(--secondary); /* Theme Blue */
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px; /* Slightly rounded corners */
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid var(--secondary);
}

.social-icon-btn:hover {
    background: var(--primary); /* Darker Blue on Hover */
    border-color: var(--primary);
    transform: translateY(-3px); /* Little jump effect */
}
/* =========================================
   MOBILE RESPONSIVENESS (Max-width: 768px)
   ========================================= */
@media (max-width: 768px) {

    /* --- General Layout & Spacing --- */
    section {
        padding: 50px 0; /* Reduce padding from 80px to 50px */
    }

    .container {
        padding: 0 15px; /* Slightly tighter edges */
    }

    /* --- Typography (Text Sizes) --- */
    /* Make big headings smaller so they fit */
    .hero h1, .page-header h1 {
        font-size: 2.2rem; 
        line-height: 1.2;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }

    .section-title p {
        font-size: 0.95rem;
    }
    
    body {
        font-size: 0.95rem; /* Slightly smaller body text */
    }

    /* --- Hero Section --- */
    .hero {
        padding: 120px 0 60px; /* Adjust top padding for header */
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 25px;
        padding: 0 10px;
    }

    /* Stack the Hero Buttons vertically on small phones */
    .hero .btn, .page-header .btn {
        width: 100%;
        margin-bottom: 10px;
        display: block;
    }
    
    .hero div[style*="display: flex"] {
        flex-direction: column;
        gap: 10px;
    }

    /* --- Navigation --- */
    .nav-links {
        background: var(--primary);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-links li {
        margin: 15px 0;
    }

    /* --- Services & Pricing Grids --- */
    /* Ensure cards have breathing room */
    .process-grid, .pricing-grid {
        grid-template-columns: 1fr; /* Force single column */
        gap: 25px;
    }
    
    .service-card, .price-card, .process-card {
        margin: 0 auto;
        width: 100%;
    }

    /* --- About & Contact Flex Sections --- */
    /* Force side-by-side layouts to stack vertically */
    .about-info div[style*="display:flex"], 
    .contact-section div[style*="display:flex"] {
        flex-direction: column;
        gap: 30px !important;
    }

    /* Make images and forms full width */
    .about-info img, 
    .contact-section input, 
    .contact-section textarea,
    .contact-section form {
        width: 100% !important;
        min-width: unset !important; /* Override inline styles */
    }

    /* --- Stats Section --- */
    /* Make stats 2 columns instead of 1 long column */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }

    /* --- Footer --- */
    .footer-grid {
        grid-template-columns: 1fr; /* Single column footer */
        text-align: center;
        gap: 30px;
    }

    .footer-links a:hover {
        padding-left: 0; /* Remove hover movement on mobile to prevent glitches */
    }

    /* --- Floating Button --- */
    .floating-container {
        bottom: 20px;
        right: 20px;
    }
    
    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}
/* --- Fix for Mobile Titles (Add to bottom of style.css) --- */
@media (max-width: 768px) {
    
    /* Force the main big titles to be smaller */
    .hero h1, 
    .page-header h1 {
        font-size: 1.8rem !important; /* Much smaller size for phone */
        line-height: 1.3;
        margin-bottom: 15px;
        padding: 0 10px; /* Prevents text from touching screen edges */
    }

    /* Adjust the subtitle text below the main title */
    .hero p, 
    .page-header p {
        font-size: 1rem !important;
        line-height: 1.5;
        max-width: 100%;
    }

    /* Reduce space around the title area */
    .hero, 
    .page-header {
        padding-top: 100px;
        padding-bottom: 40px;
    }
}