/* ═══════════════════════════════════════════════════════════
   NIDHISH MARINE SERVICES – Design System
   Premium Light Theme • Marine-Inspired
   ═══════════════════════════════════════════════════════════ */

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

/* ══════════════════════════════════════
   CSS CUSTOM PROPERTIES (Design Tokens)
   ══════════════════════════════════════ */
:root {
    /* Colors */
    --primary:          #0A2647;
    --primary-dark:     #061A33;
    --secondary:        #144272;
    --accent:           #D61C4E;
    --highlight:        #F82659;
    --highlight-light:  #FF527B;

    --bg-white:         #FFFFFF;
    --bg-light:         #F8F9FA;
    --bg-section:       #F0F4F8;
    --bg-card:          #FFFFFF;

    --border-light:     #E9ECEF;
    --border-medium:    #DEE2E6;

    --text-dark:        #1A1D21;
    --text-body:        #2D3436;
    --text-secondary:   #636E72;
    --text-muted:       #B2BEC3;
    --text-white:       #FFFFFF;

    --success:          #00B894;
    --warning:          #FDCB6E;
    --danger:           #E17055;
    --info:             #74B9FF;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0A2647 0%, #144272 100%);
    --gradient-accent:  linear-gradient(135deg, #D61C4E 0%, #F82659 100%);
    --gradient-hero:    linear-gradient(135deg, rgba(10,38,71,0.95) 0%, rgba(20,66,114,0.90) 50%, rgba(10,38,71,0.95) 100%);
    --gradient-card:    linear-gradient(180deg, rgba(10,38,71,0.02) 0%, rgba(10,38,71,0.06) 100%);
    --gradient-shine:   linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);

    /* Typography */
    --font-heading:     'Outfit', sans-serif;
    --font-body:        'Inter', sans-serif;

    /* Spacing */
    --section-py:       100px;
    --section-py-sm:    60px;

    /* Shadows */
    --shadow-sm:        0 2px 8px rgba(10,38,71,0.06);
    --shadow-md:        0 4px 24px rgba(10,38,71,0.08);
    --shadow-lg:        0 8px 40px rgba(10,38,71,0.12);
    --shadow-xl:        0 16px 64px rgba(10,38,71,0.16);
    --shadow-card:      0 4px 20px rgba(10,38,71,0.07);
    --shadow-card-hover:0 12px 40px rgba(10,38,71,0.14);
    --shadow-button:    0 4px 16px rgba(10,38,71,0.20);

    /* Borders */
    --radius-sm:        8px;
    --radius-md:        12px;
    --radius-lg:        16px;
    --radius-xl:        24px;
    --radius-full:      50%;

    /* Transitions */
    --transition-fast:  0.2s ease;
    --transition-base:  0.3s ease;
    --transition-slow:  0.5s ease;
    --transition-bounce:0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ══════════════════════════════════════
   BASE & RESET
   ══════════════════════════════════════ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 { font-size: 3.2rem; font-weight: 800; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.35rem; }
h5 { font-size: 1.15rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; }

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

a:hover {
    color: var(--highlight);
}

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

::selection {
    background: var(--accent);
    color: var(--text-white);
}

/* ══════════════════════════════════════
   UTILITY CLASSES
   ══════════════════════════════════════ */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-padding {
    padding: var(--section-py) 0;
}

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

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

/* ── Section Headers ── */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-header .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(10,38,71,0.06) 0%, rgba(44,116,179,0.08) 100%);
    border: 1px solid rgba(10,38,71,0.08);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.section-header .section-badge i {
    font-size: 0.9rem;
}

.section-header h2 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-header .heading-line {
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
    margin: 16px auto 0;
}

/* ══════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════ */
.btn-marine {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--gradient-primary);
    color: var(--text-white);
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-button);
    position: relative;
    overflow: hidden;
}

.btn-marine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-shine);
    transition: left 0.5s ease;
}

.btn-marine:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(10,38,71,0.30);
    color: var(--text-white);
}

.btn-marine:hover::before {
    left: 100%;
}

.btn-marine-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 32px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-marine-outline:hover {
    background: var(--primary);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-button);
}

.btn-marine-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--bg-white);
    color: var(--primary);
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.btn-marine-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--accent);
}

/* ══════════════════════════════════════
   NAVBAR / HEADER
   ══════════════════════════════════════ */
.navbar-marine {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    padding: 12px 0;
    transition: all var(--transition-base);
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(10,38,71,0.06);
}

.navbar-marine.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

.navbar-marine .navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color var(--transition-base);
}

.navbar-marine .navbar-brand .brand-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.navbar-marine .nav-link {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-body);
    padding: 8px 16px !important;
    transition: all var(--transition-fast);
    position: relative;
}

.navbar-marine .nav-link:hover,
.navbar-marine .nav-link.active {
    color: var(--accent);
}

.navbar-marine .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--highlight);
    border-radius: 1px;
    transition: width var(--transition-base);
}

.navbar-marine .nav-link:hover::after,
.navbar-marine .nav-link.active::after {
    width: 60%;
}

.navbar-marine .nav-cta {
    padding: 10px 24px !important;
    background: var(--gradient-accent);
    color: white !important;
    border-radius: var(--radius-sm);
    margin-left: 8px;
    font-weight: 600;
    box-shadow: 0 2px 12px rgba(44,116,179,0.3);
}

.navbar-marine .nav-cta::after {
    display: none;
}

.navbar-marine .nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(44,116,179,0.4);
}

.navbar-marine .navbar-toggler {
    border: none;
    padding: 8px;
    color: var(--primary);
    font-size: 1.4rem;
}

/* Dropdown */
@media (min-width: 992px) {
    .navbar-marine .dropdown:hover .dropdown-menu {
        display: block !important;
        margin-top: 0;
    }
}

.navbar-marine .dropdown-menu {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 12px 0;
    margin-top: 8px;
    min-width: 240px;
    animation: dropdownFade 0.3s ease;
}

@keyframes dropdownFade {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.navbar-marine .dropdown-item {
    padding: 10px 24px;
    font-size: 0.9rem;
    color: var(--text-body);
    transition: all var(--transition-fast);
}

.navbar-marine .dropdown-item:hover {
    background: var(--bg-section);
    color: var(--accent);
    padding-left: 28px;
}

.navbar-marine .dropdown-item i {
    margin-right: 10px;
    color: var(--accent);
    width: 18px;
    text-align: center;
}

/* ══════════════════════════════════════
   TOP BAR
   ══════════════════════════════════════ */
.topbar {
    background: var(--gradient-primary);
    padding: 8px 0;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.8);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: relative;
    z-index: 1051;
}

.topbar a {
    color: rgba(255,255,255,0.9);
    transition: color var(--transition-fast);
}

.topbar a:hover {
    color: var(--highlight-light);
}

.topbar i {
    margin-right: 6px;
    color: var(--highlight-light);
}

.topbar .social-links a {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-full);
    margin-left: 6px;
    font-size: 0.75rem;
    transition: all var(--transition-fast);
}

.topbar .social-links a:hover {
    background: var(--highlight);
    color: var(--text-white);
    transform: translateY(-1px);
}

/* ══════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding: 120px 0 60px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(44,116,179,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(32,82,149,0.10) 0%, transparent 50%);
    z-index: 1;
}

.hero-section .hero-content {
    position: relative;
    z-index: 2;
}

.hero-section .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    color: rgba(255,255,255,0.9);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-section .hero-badge i {
    color: var(--highlight-light);
}

.hero-section h1 {
    font-size: 3.8rem;
    font-weight: 900;
    color: var(--text-white);
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-section h1 span {
    color: var(--highlight-light);
}

.hero-section .hero-description {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.78);
    max-width: 560px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.hero-section .hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-section .hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.hero-section .hero-stat {
    text-align: center;
}

.hero-section .hero-stat .stat-number {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text-white);
    display: block;
    line-height: 1;
}

.hero-section .hero-stat .stat-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
    display: block;
}

/* Floating decorative elements */
.hero-float {
    position: absolute;
    border-radius: var(--radius-full);
    opacity: 0.06;
    z-index: 1;
}

.hero-float-1 {
    width: 400px;
    height: 400px;
    background: var(--highlight);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.hero-float-2 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    bottom: -50px;
    left: -50px;
    animation: float 10s ease-in-out infinite reverse;
}

.hero-float-3 {
    width: 200px;
    height: 200px;
    background: var(--highlight-light);
    top: 30%;
    right: 10%;
    animation: float 6s ease-in-out infinite 2s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, -20px) rotate(2deg); }
    50% { transform: translate(-5px, 10px) rotate(-1deg); }
    75% { transform: translate(15px, 5px) rotate(1deg); }
}

/* ══════════════════════════════════════
   SERVICE CARDS
   ══════════════════════════════════════ */
.service-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card .service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(10,38,71,0.06) 0%, rgba(44,116,179,0.10) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all var(--transition-base);
}

.service-card .service-icon i {
    font-size: 1.6rem;
    color: var(--accent);
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
}

.service-card:hover .service-icon i {
    color: var(--text-white);
}

.service-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    flex-grow: 1;
}

.service-card .service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    margin-top: 16px;
    transition: all var(--transition-fast);
}

.service-card .service-link:hover {
    gap: 10px;
    color: var(--primary);
}

/* ══════════════════════════════════════
   COUNTER / STATS SECTION
   ══════════════════════════════════════ */
.stats-section {
    background: var(--gradient-primary);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at 10% 50%, rgba(44,116,179,0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 50%, rgba(32,82,149,0.15) 0%, transparent 50%);
}

.stat-item {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 20px;
}

.stat-item .stat-icon {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.4rem;
    color: var(--highlight-light);
}

.stat-item .stat-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item .stat-label {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

/* ══════════════════════════════════════
   ABOUT SECTION
   ══════════════════════════════════════ */
.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.about-image-wrapper .experience-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-image-wrapper .experience-badge .number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.about-image-wrapper .experience-badge .text {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 4px;
    display: block;
    opacity: 0.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-section);
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-dark);
}

.about-feature-item i {
    color: var(--success);
    font-size: 1rem;
}

/* ══════════════════════════════════════
   TESTIMONIAL CARD
   ══════════════════════════════════════ */
.testimonial-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
    position: relative;
    height: 100%;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

.testimonial-card .quote-icon {
    font-size: 2rem;
    color: var(--highlight-light);
    opacity: 0.3;
    margin-bottom: 16px;
}

.testimonial-card .testimonial-text {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-card .testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-card .author-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-card .author-info h6 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.testimonial-card .author-info span {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.testimonial-card .rating {
    color: var(--warning);
    margin-bottom: 8px;
}

/* ══════════════════════════════════════
   CTA SECTION
   ══════════════════════════════════════ */
.cta-section {
    background: var(--gradient-primary);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(44,116,179,0.15) 0%, transparent 60%);
    border-radius: var(--radius-full);
}

.cta-section h2 {
    color: var(--text-white);
    font-size: 2.4rem;
    font-weight: 800;
}

.cta-section p {
    color: rgba(255,255,255,0.75);
    font-size: 1.1rem;
    max-width: 600px;
}

.cta-section .cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
}

/* ══════════════════════════════════════
   INDUSTRY CARDS
   ══════════════════════════════════════ */
.industry-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
    height: 100%;
}

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

.industry-card .industry-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(10,38,71,0.05) 0%, rgba(44,116,179,0.08) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.8rem;
    color: var(--accent);
    transition: all var(--transition-base);
}

.industry-card:hover .industry-icon {
    background: var(--gradient-primary);
    color: var(--text-white);
}

.industry-card h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.industry-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.7);
    padding-top: 80px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
}

.footer h5 {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--highlight);
    border-radius: 1px;
}

.footer p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 8px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '\F285';
    font-family: 'bootstrap-icons';
    font-size: 0.6rem;
    color: var(--highlight);
    transition: transform var(--transition-fast);
}

.footer-links a:hover {
    color: var(--highlight-light);
    padding-left: 4px;
}

.footer-links a:hover::before {
    transform: translateX(3px);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}

.footer-contact-item i {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--highlight-light);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.footer-contact-item span {
    font-size: 0.9rem;
    line-height: 1.6;
}

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

.footer-contact-item a:hover {
    color: var(--highlight-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
    margin-top: 60px;
}

.footer-bottom p {
    font-size: 0.85rem;
    margin: 0;
    color: rgba(255,255,255,0.5);
}

.footer-social a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    color: rgba(255,255,255,0.6);
    margin-left: 8px;
    transition: all var(--transition-fast);
    font-size: 0.95rem;
}

.footer-social a:hover {
    background: var(--highlight);
    color: var(--text-white);
    transform: translateY(-3px);
}

/* ── Newsletter Form ── */
.newsletter-form {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
    color: var(--text-white);
    font-size: 0.88rem;
    outline: none;
    transition: all var(--transition-fast);
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.4);
}

.newsletter-form input:focus {
    border-color: var(--highlight);
    background: rgba(255,255,255,0.12);
}

.newsletter-form button {
    padding: 12px 20px;
    background: var(--gradient-accent);
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-white);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44,116,179,0.3);
}

/* ══════════════════════════════════════
   BREADCRUMB
   ══════════════════════════════════════ */
.page-header {
    background: var(--gradient-primary);
    padding: 140px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(44,116,179,0.15) 0%, transparent 60%);
}

.page-header h1 {
    color: var(--text-white);
    font-size: 2.6rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.page-header .breadcrumb {
    background: none;
    padding: 0;
    margin-top: 16px;
    position: relative;
    z-index: 1;
}

.page-header .breadcrumb-item a {
    color: rgba(255,255,255,0.7);
    font-size: 0.88rem;
}

.page-header .breadcrumb-item.active {
    color: var(--highlight-light);
    font-size: 0.88rem;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.4);
}

/* ══════════════════════════════════════
   CONTACT FORM
   ══════════════════════════════════════ */
.contact-form .form-control,
.contact-form .form-select {
    padding: 14px 18px;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    transition: all var(--transition-fast);
    background: var(--bg-white);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(32,82,149,0.1);
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.contact-info-card {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    padding: 40px;
    color: var(--text-white);
    height: 100%;
}

.contact-info-card h4 {
    color: var(--text-white);
    margin-bottom: 24px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-info-item .icon-wrap {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-item h6 {
    color: var(--text-white);
    font-size: 0.88rem;
    margin-bottom: 4px;
    opacity: 0.7;
    font-weight: 500;
}

.contact-info-item p {
    color: rgba(255,255,255,0.9);
    margin: 0;
    font-size: 0.95rem;
}

/* ══════════════════════════════════════
   FAQ ACCORDION
   ══════════════════════════════════════ */
.faq-accordion .accordion-item {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md) !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
    padding: 18px 24px;
    background: var(--bg-white);
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: var(--bg-section);
    color: var(--accent);
}

.faq-accordion .accordion-button:focus {
    box-shadow: none;
}

.faq-accordion .accordion-body {
    padding: 0 24px 18px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ══════════════════════════════════════
   BLOG CARD
   ══════════════════════════════════════ */
.blog-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}

.blog-card .blog-image {
    height: 220px;
    overflow: hidden;
}

.blog-card .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.blog-card .blog-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card .blog-meta {
    display: flex;
    gap: 16px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.blog-card .blog-meta i {
    margin-right: 4px;
    color: var(--accent);
}

.blog-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.blog-card h4 a {
    color: var(--text-dark);
    transition: color var(--transition-fast);
}

.blog-card h4 a:hover {
    color: var(--accent);
}

.blog-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    flex-grow: 1;
}

/* ══════════════════════════════════════
   WHY CHOOSE US
   ══════════════════════════════════════ */
.why-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
    height: 100%;
}

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

.why-card .why-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(10,38,71,0.05) 0%, rgba(44,116,179,0.10) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--accent);
    transition: all var(--transition-base);
}

.why-card:hover .why-icon {
    background: var(--gradient-primary);
    color: var(--text-white);
    transform: rotateY(180deg);
}

.why-card h5 {
    font-weight: 700;
    margin-bottom: 10px;
}

.why-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ══════════════════════════════════════
   WHATSAPP FLOATING BUTTON
   ══════════════════════════════════════ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1040;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.7rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: all var(--transition-base);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37,211,102,0.5);
    color: var(--text-white);
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 30px rgba(37,211,102,0.6); }
}

/* ══════════════════════════════════════
   BACK TO TOP
   ══════════════════════════════════════ */
.back-to-top {
    position: fixed;
    bottom: 94px;
    right: 28px;
    z-index: 1040;
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    border: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ══════════════════════════════════════
   PRELOADER
   ══════════════════════════════════════ */
.preloader {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg-white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 24px;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader .spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border-light);
    border-top-color: var(--accent);
    border-radius: var(--radius-full);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.preloader .preloader-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 2px;
}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 1199px) {
    h1 { font-size: 2.6rem; }
    .hero-section h1 { font-size: 3rem; }
    .section-header h2 { font-size: 2.2rem; }
}

@media (max-width: 991px) {
    .section-padding { padding: var(--section-py-sm) 0; }
    h1 { font-size: 2.2rem; }
    .hero-section { min-height: auto; padding: 140px 0 80px; }
    .hero-section h1 { font-size: 2.4rem; }
    .hero-section .hero-stats { gap: 24px; flex-wrap: wrap; }
    .hero-section .hero-stat .stat-number { font-size: 2rem; }
    .section-header h2 { font-size: 2rem; }
    .section-header { margin-bottom: 40px; }
    .about-features { grid-template-columns: 1fr; }

    .navbar-marine .navbar-collapse {
        background: var(--bg-white);
        border-radius: var(--radius-md);
        padding: 16px;
        margin-top: 12px;
        box-shadow: var(--shadow-lg);
    }

    .navbar-marine .nav-link {
        color: var(--text-body) !important;
        padding: 10px 16px !important;
    }

    .navbar-marine .nav-link:hover,
    .navbar-marine .nav-link.active {
        color: var(--accent) !important;
    }

    .navbar-marine .nav-cta {
        margin: 8px 0 0;
        display: inline-flex;
    }

    .navbar-marine .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        box-shadow: none;
        border: none;
        padding: 4px 0 4px 16px !important;
        margin-top: 4px !important;
        background: rgba(10, 38, 71, 0.02) !important;
        border-left: 2px solid var(--border-light) !important;
        border-radius: 0 !important;
        display: none;
    }
    
    .navbar-marine .dropdown-menu.show {
        display: block !important;
    }

    .navbar-marine .dropdown-item {
        padding: 8px 16px !important;
        color: var(--text-secondary) !important;
        background: transparent !important;
    }

    .navbar-marine .dropdown-item:hover {
        color: var(--accent) !important;
        padding-left: 20px !important;
    }
}

@media (max-width: 767px) {
    h1 { font-size: 1.8rem; }
    .hero-section h1 { font-size: 2rem; }
    .hero-section .hero-description { font-size: 1rem; }
    .hero-section .hero-buttons { flex-direction: column; }
    .hero-section .hero-stats { gap: 16px; }
    .stat-item .stat-number { font-size: 2.2rem; }
    .section-header h2 { font-size: 1.7rem; }
    .cta-section h2 { font-size: 1.8rem; }
    .footer { padding-top: 50px; }
    .page-header { padding: 120px 0 40px; }
    .page-header h1 { font-size: 2rem; }
    .topbar { display: none; }
}

@media (max-width: 576px) {
    .hero-section h1 { font-size: 1.7rem; }
    .section-header h2 { font-size: 1.5rem; }
    .newsletter-form { flex-direction: column; }
}
