/* Website styles for Deep Blue Maritime Consulting */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: #f8fafc;
}

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

/* Header Styles */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 120px;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}

.logo-text {
    color: #1e3c72;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-subtitle {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 400;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #1e3c72;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    position: relative;
}

nav a:hover {
    color: #2a5298;
    background: rgba(30, 60, 114, 0.1);
    transform: translateY(-2px);
}

nav a.active {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
}

/* Hero Section with Maritime Background */
.hero {
    margin-top: 100px;
    min-height: 70vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(30, 60, 114, 0.4), rgba(42, 82, 152, 0.5)), 
                url('../images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Fallback gradient if image doesn't load */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    z-index: -1;
}

/* Maritime atmosphere overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 320"><path fill="rgba(255,255,255,0.05)" d="M0,160L48,170.7C96,181,192,203,288,197.3C384,192,480,160,576,149.3C672,139,768,149,864,176C960,203,1056,245,1152,245.3C1248,245,1344,203,1392,181.3L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: 120% 100px;
    animation: wave 15s infinite ease-in-out;
    opacity: 0.3;
    z-index: 1;
}

@keyframes wave {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-30px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 8px 30px rgba(238, 90, 36, 0.4);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(238, 90, 36, 0.6);
}

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

/* Services Section with Maritime Cards */
.services {
    background: white;
    padding: 100px 0;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e3c72 0%, #2a5298 50%, #667eea 100%);
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.service-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 10px 30px rgba(30, 60, 114, 0.3);
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 1.2rem;
}

.service-card p {
    color: #64748b;
    line-height: 1.7;
    font-size: 1rem;
}

/* About Section with Maritime Features */
.about {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 100px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 0.3rem;
}

.feature-content p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(30, 60, 114, 0.1), rgba(42, 82, 152, 0.1));
    z-index: 2;
    border-radius: 20px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 100px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path fill="rgba(255,255,255,0.05)" d="M985.66,92.83C906.67,72,823.78,31,743.84,14.19c-82.26-17.34-168.06-16.33-250.45.39-57.84,11.73-114,31.07-172,41.86A600.21,600.21,0,0,1,0,27.35V120H1200V95.8C1132.19,118.92,1055.71,111.31,985.66,92.83Z"></path></svg>') no-repeat top;
    background-size: cover;
}

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

.cta-section h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background: #0f172a;
    color: white;
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #64748b;
}

.footer-section p, .footer-section a {
    color: #94a3b8;
    text-decoration: none;
    line-height: 1.8;
    font-size: 1rem;
}

.footer-section a:hover {
    color: #667eea;
    transition: color 0.3s ease;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 2rem;
    text-align: center;
    color: #64748b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        padding: 0.8rem 0;
    }

    .logo img {
        width: 100px;
        max-height: 60px;
    }

    nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        min-height: 60vh;
        background-attachment: scroll;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .cta-section h2 {
        font-size: 2.2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .cta-button {
        padding: 15px 35px;
        font-size: 1rem;
    }
}

.regional-coverage {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #1e3c72;
}

.regional-coverage h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 1rem;
}

.regional-coverage p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* Enhanced about text styling */
.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 1.5rem;
}

.about-text > p {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Updated feature icons to match company description */
.about-features .feature-item:nth-child(1) .feature-icon {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.about-features .feature-item:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

.about-features .feature-item:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
}

.about-features .feature-item:nth-child(4) .feature-icon {
    background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
}

/* Mobile responsive adjustments for regional coverage */
@media (max-width: 768px) {
    .regional-coverage {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .regional-coverage h3 {
        font-size: 1.2rem;
    }
}

/* Updated service cards for detailed content */
.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: left;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Service details styling */
.service-details {
    margin-top: 1rem;
}

.service-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-details li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
}

.service-details li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #1e3c72;
    font-weight: bold;
    font-size: 1rem;
}

.service-details li strong {
    color: #1e3c72;
    font-weight: 600;
}

/* Service icon adjustments */
.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.3);
}

/* Different colors for each service category */
.service-card:nth-child(1) .service-icon {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.service-card:nth-child(2) .service-icon {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

.service-card:nth-child(3) .service-icon {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
}

/* Enhanced hover effects */
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Responsive adjustments for services */
@media (max-width: 768px) {
    .service-card {
        padding: 2rem 1.5rem;
        min-height: auto;
        text-align: left;
    }
    
    .service-details li {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 1.5rem 1rem;
    }
    
    .service-details li {
        padding-left: 1.2rem;
        font-size: 0.85rem;
    }
}

/* Enhanced Footer Services */

.footer-services {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-service-category {
    margin-bottom: 1rem;
}

.footer-service-category h4 {
    color: #667eea;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid #334155;
    padding-bottom: 0.3rem;
}

.footer-service-category p {
    margin-bottom: 0.4rem;
    line-height: 1.5;
}

.footer-service-category a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-service-category a:hover {
    color: #667eea;
    padding-left: 5px;
    transition: all 0.3s ease;
}

/* Responsive footer services */
@media (max-width: 768px) {
    .footer-services {
        gap: 1rem;
    }
    
    .footer-service-category h4 {
        font-size: 0.95rem;
    }
    
    .footer-service-category a {
        font-size: 0.85rem;
    }
}