:root {
    --primary-color: #0B1B3D;
    --accent-color: #FF7A00;
    --text-main: #333333;
    --text-light: #666666;
    --bg-light: #F4F6F9;
    --white: #FFFFFF;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(11, 27, 61, 0.1);
    --radius: 12px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

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

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-light {
    background-color: var(--bg-light);
}

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

.section-dark h1, .section-dark h2, .section-dark h3 {
    color: var(--white);
}

.text-center { text-align: center; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-10 { margin-bottom: 40px; }
.mb-12 { margin-bottom: 48px; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(255, 122, 0, 0.3);
}

.btn-primary:hover {
    background-color: #e66e00;
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(255, 122, 0, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: var(--transition);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: var(--shadow-sm);
    padding: 5px 0;
}

.header:not(.scrolled) .logo,
.header:not(.scrolled) .nav-links a:not(.btn-nav),
.header:not(.scrolled) .mobile-menu-btn {
    color: var(--white);
}

.header:not(.scrolled) .logo span {
    color: var(--accent-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    transition: var(--transition);
}

.header.scrolled .nav-container {
    height: 70px;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 28px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    position: relative;
}

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

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

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

.nav-links a.btn-nav {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--accent-color), #FF5500);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 122, 0, 0.3);
}

.nav-links a.btn-nav::after {
    display: none;
}

.nav-links a.btn-nav:hover, .nav-links a.btn-nav.active {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 122, 0, 0.4);
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: flex-end;
    position: relative;
    padding-bottom: 80px;
    padding-top: 120px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(to right, rgba(11,27,61,0.95) 0%, rgba(11,27,61,0.7) 40%, rgba(11,27,61,0) 80%),
        linear-gradient(to top, rgba(11,27,61,0.9) 0%, rgba(11,27,61,0) 40%);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 40px;
}

.hero-content-left {
    max-width: 550px;
}

.hero-content-left h1 {
    font-size: 52px;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
    position: relative;
    z-index: 3;
}

.text-accent {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

.text-accent::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: rgba(255,122,0,0.3);
    z-index: -1;
}

.hero-subtitle {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    background: rgba(255, 122, 0, 0.1);
    padding: 6px 16px;
    border-radius: 30px;
}

.hero-content-left p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 16px;
}

.hero-content-right {
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-feature {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 12px 20px;
    border-radius: 30px;
}

.hero-feature i {
    color: var(--accent-color);
}

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

.float-1 { animation: float 6s ease-in-out infinite; }
.float-2 { animation: float 7s ease-in-out infinite; animation-delay: 0.5s; }
.float-3 { animation: float 8s ease-in-out infinite; animation-delay: 1s; }

/* Cards & Grids */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    height: 100%;
}

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

.card-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(255, 122, 0, 0.1);
    color: var(--accent-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 24px;
    transition: var(--transition);
}

.card:hover .card-icon {
    background-color: var(--accent-color);
    color: var(--white);
    transform: scale(1.1);
}

.card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

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

/* Services specific */
.service-card {
    padding: 0;
    overflow: hidden;
}

.service-img {
    height: 240px;
    width: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

.service-content {
    padding: 30px;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0 30px;
}

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

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 20px;
}

.footer-heading {
    font-size: 20px;
    margin-bottom: 24px;
    color: var(--white);
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--accent-color);
    font-size: 20px;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

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

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

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

/* Forms */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius);
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    transition: var(--transition);
    background-color: #F8FAFC;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.1);
    background-color: var(--white);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.quote-form {
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Floating Contact & Back to Top */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    background-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    z-index: 999;
    transition: var(--transition);
    border: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.floating-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

/* Section Titles */
.section-title {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-title span {
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 14px;
    display: block;
    margin-bottom: 12px;
}

.section-title h2 {
    font-size: 42px;
}

/* Animations & Scroll Reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: opacity, transform;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.grid > .scroll-reveal:nth-child(1) { transition-delay: 0.05s; }
.grid > .scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
.grid > .scroll-reveal:nth-child(3) { transition-delay: 0.15s; }
.grid > .scroll-reveal:nth-child(4) { transition-delay: 0.2s; }
.grid > .scroll-reveal:nth-child(5) { transition-delay: 0.25s; }

/* Keep fade-in-up for one-off elements like hero */
.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Page Header */
.page-header {
    padding: 160px 0 80px;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    position: relative;
}

.page-header h1 {
    font-size: 52px;
    margin-bottom: 20px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
    color: rgba(255,255,255,0.7);
}

.breadcrumb a {
    color: var(--white);
}

.breadcrumb a:hover {
    color: var(--accent-color);
}

/* Responsive */
@media (max-width: 992px) {
    .grid-3, .grid-4, .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-content-left h1 { font-size: 42px; }
    .hero { min-height: 700px; padding-top: 120px; }
    .hero-container { flex-direction: column; align-items: flex-start; gap: 40px; }
    .hero-content-right { align-items: flex-start; text-align: left; }
    .hero-gradient-overlay {
        background: linear-gradient(to right, rgba(11,27,61,0.95) 0%, rgba(11,27,61,0.8) 50%, rgba(11,27,61,0.3) 100%);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .header.scrolled .nav-links {
        top: 70px;
        height: calc(100vh - 70px);
    }
    
    .header:not(.scrolled) .nav-links a:not(.btn-nav) {
        color: var(--primary-color);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .mobile-menu-btn { display: block; }
    
    .grid-2, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; }
    .footer-grid { text-align: center; }
    
    .footer-contact li { justify-content: center; }
    .social-links { justify-content: center; }
    
    .hero { height: auto; min-height: 100vh; padding-top: 100px; padding-bottom: 150px; justify-content: flex-start; }
    .hero-gradient-overlay {
        background: linear-gradient(135deg, rgba(11,27,61,0.95) 0%, rgba(11,27,61,0.85) 60%, rgba(11,27,61,0.6) 100%);
    }
    
    .hero-container { gap: 40px; }
    
    .hero-content-left {
        min-height: calc(100vh - 140px); /* Fills initial viewport */
        display: flex;
        flex-direction: column;
        justify-content: flex-end; /* Pushes content to the bottom of the viewport */
    }
    
    .hero-content-left h1 { font-size: 36px; }
    .hero-content-left p { font-size: 16px; margin-bottom: 24px; }
    
    .hero-btns { flex-direction: column; width: 100%; }
    .hero-btns .btn { width: 100%; }
    
    .hero-features { width: 100%; }
    .hero-feature { width: 100%; justify-content: flex-start; }
    .hero-content-right { align-items: flex-start; width: 100%; }
    .hero-content-right p { text-align: left; margin-left: 0; max-width: 100%; }
    
    .quote-form { padding: 30px 20px; }
    
    .page-header { padding: 120px 0 60px; }
    .page-header h1 { font-size: 36px; }
    .section-title h2 { font-size: 32px; }
}
