/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;600;700;800&display=swap');

:root {
    --primary-navy: #0A194F; 
    --primary-light: #00A8E8; 
    --accent-orange: #F28E1C; 
    --text-dark: #1E293B;
    --text-light: #64748B;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --transition-fast: 0.2s ease;
    --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(10, 25, 79, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-navy);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul { list-style: none; }

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.animate-on-scroll.show {
    opacity: 1;
    transform: translateY(0);
}

/* Header & Glassmorphism Nav */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-slow);
}

header.scrolled {
    box-shadow: var(--shadow-sm);
    background: rgba(255, 255, 255, 0.98);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 55px;
    object-fit: contain;
    transition: transform var(--transition-fast);
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links li a {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--primary-navy);
    font-size: 1.05rem;
    position: relative;
}

.nav-links li a:not(.btn-quote):not(.nav-phone)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-light);
    transition: var(--transition-fast);
}

.nav-links li a:not(.btn-quote):not(.nav-phone):hover::after, 
.nav-links li a:not(.btn-quote):not(.nav-phone).active::after {
    width: 100%;
}

.nav-links li a:not(.btn-quote):not(.nav-phone):hover, 
.nav-links li a:not(.btn-quote):not(.nav-phone).active {
    color: var(--primary-light);
}

/* Nav Phone Link with Highlight Effects */
.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 168, 232, 0.1);
    color: var(--primary-navy) !important;
    padding: 10px 18px;
    border-radius: 30px;
    border: 1px solid var(--primary-light);
    font-size: 1rem !important;
    transition: all 0.3s ease;
}

.nav-phone i {
    color: var(--primary-light);
    animation: phonePulse 2s infinite;
}

.nav-phone:hover {
    background: var(--primary-light);
    color: var(--bg-white) !important;
    box-shadow: 0 4px 15px rgba(0, 168, 232, 0.4);
    transform: translateY(-2px);
}

.nav-phone:hover i {
    color: var(--bg-white);
    animation: none;
}

@keyframes phonePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Quote Button */
.btn-quote {
    background: linear-gradient(135deg, var(--accent-orange), #d97b15);
    color: var(--bg-white) !important;
    padding: 12px 24px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(242, 142, 28, 0.3);
}

.btn-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 142, 28, 0.4);
}

.mobile-menu {
    display: none;
    font-size: 1.8rem;
    color: var(--primary-navy);
    cursor: pointer;
}

/* Sections */
section { padding: 100px 20px; }
.container { max-width: 1200px; margin: 0 auto; }

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Modern Hero Section */
.hero {
    margin-top: 0;
    padding-top: 150px;
    background: linear-gradient(to right, rgba(10, 25, 79, 0.9), rgba(0, 168, 232, 0.7)), url('https://images.unsplash.com/photo-1586528116311-ad8ed7c663b0?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') center/cover fixed;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--bg-white);
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--bg-white);
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: #E2E8F0;
    max-width: 600px;
}

.btn-primary {
    background: var(--primary-light);
    color: var(--bg-white);
    padding: 16px 36px;
    font-size: 1.1rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-slow);
    box-shadow: 0 4px 15px rgba(0, 168, 232, 0.4);
}

.btn-primary:hover {
    background: #008cc2;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 168, 232, 0.5);
}

/* Services Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--bg-white);
    padding: 50px 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
    border: 1px solid #E2E8F0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0, 168, 232, 0.05), rgba(10, 25, 79, 0.02));
    z-index: -1;
    opacity: 0;
    transition: var(--transition-slow);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-card:hover::before { opacity: 1; }

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(0, 168, 232, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transition: var(--transition-slow);
}

.service-card:hover .icon-wrapper {
    background: var(--primary-light);
    transform: scale(1.1) rotate(5deg);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-light);
    transition: var(--transition-slow);
}

.service-card:hover .service-icon { color: var(--bg-white); }

.service-card h3 {
    font-size: 1.75rem;
    margin-bottom: 15px;
}

.service-card p { color: var(--text-light); }

/* Forms */
.form-container {
    background: var(--bg-white);
    padding: 50px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid #E2E8F0;
}

.form-group { margin-bottom: 25px; }

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--primary-navy);
}

.form-control {
    width: 100%;
    padding: 16px;
    border: 2px solid #E2E8F0;
    border-radius: 8px;
    font-size: 1rem;
    background: #F8FAFC;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-light);
    background: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(0, 168, 232, 0.1);
}

/* Footer Updates */
footer {
    background: var(--primary-navy);
    padding: 80px 20px 20px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    background: var(--primary-light);
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.2;
    top: -100px; right: -100px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.footer-logo { background: var(--bg-white); padding: 15px; border-radius: 8px; display: inline-block; margin-bottom: 20px;}
.footer-logo img { height: 45px; }

.footer-col p {
    color: #a8b6c9;
    margin-top: 15px;
}

.footer-col h4 {
    color: var(--bg-white);
    margin-bottom: 25px;
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 40px; height: 3px;
    background: var(--accent-orange);
    border-radius: 2px;
}

.footer-col ul li { 
    margin-bottom: 15px; 
    color: #a8b6c9; 
}

.footer-col ul li a { 
    transition: var(--transition-fast); 
    color: #a8b6c9; 
}

.footer-col ul li a:hover { 
    color: var(--primary-light); 
    padding-left: 8px; 
}

.footer-col ul li i {
    width: 20px;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #a8b6c9;
    position: relative;
    z-index: 2;
}

/* Scroll to Top Button (Responsive Base) */
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    background-color: var(--accent-orange);
    color: var(--bg-white);
    border: none;
    outline: none;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-slow);
}

#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scrollTopBtn:hover {
    background-color: #d97b15;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(242, 142, 28, 0.4);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 85px; left: 0; width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        padding: 30px 20px;
        text-align: center;
        box-shadow: var(--shadow-md);
        border-top: 1px solid #E2E8F0;
    }
    .nav-links.active { display: flex; }
    .mobile-menu { display: block; }
    .hero h1 { font-size: 3rem; }
    
    .nav-phone {
        display: inline-flex;
        margin: 10px auto;
    }
    
    /* Optimize Scroll To Top for Mobile */
    #scrollTopBtn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}