/* ============================================
   MARITIME THEME - MODERN & PROFESSIONAL
   ============================================ */

:root {
    /* Maritime Color Palette */
    --color-ocean-deep: #0a2540;
    --color-ocean: #1a4a6b;
    --color-ocean-light: #2d6a95;
    --color-teal: #3d8b9f;
    --color-teal-light: #5ba8b8;
    --color-sea-foam: #7fc4c9;
    --color-sea-foam-light: #a8d8da;
    --color-sand: #e8dcc6;
    --color-sand-light: #f5ede0;
    --color-white: #ffffff;
    --color-cream: #faf8f3;
    --color-gray: #5a6c7d;
    --color-gray-light: rgba(90, 108, 125, 0.1);
    --color-gray-lighter: rgba(90, 108, 125, 0.05);
    
    /* Gradients */
    --gradient-ocean: linear-gradient(135deg, #0a2540 0%, #1a4a6b 50%, #2d6a95 100%);
    --gradient-teal: linear-gradient(135deg, #3d8b9f 0%, #5ba8b8 50%, #7fc4c9 100%);
    --gradient-wave: linear-gradient(180deg, rgba(26, 74, 107, 0.1) 0%, rgba(61, 139, 159, 0.05) 50%, transparent 100%);
    --gradient-hero: linear-gradient(135deg, rgba(10, 37, 64, 0.95) 0%, rgba(26, 74, 107, 0.9) 50%, rgba(45, 106, 149, 0.85) 100%);
    --gradient-bg: linear-gradient(135deg, rgba(10, 37, 64, 0.02) 0%, rgba(61, 139, 159, 0.03) 50%, rgba(168, 216, 218, 0.02) 100%);
    --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 248, 243, 0.95) 100%);
    --gradient-sand: linear-gradient(135deg, #f5ede0 0%, #e8dcc6 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.08);
    --shadow-md: 0 4px 16px rgba(10, 37, 64, 0.12);
    --shadow-lg: 0 8px 32px rgba(10, 37, 64, 0.16);
    --shadow-xl: 0 16px 48px rgba(10, 37, 64, 0.2);
    --shadow-ocean: 0 8px 24px rgba(26, 74, 107, 0.25);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-wave: 50% 50% 0 0 / 100% 100% 0 0;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--gradient-bg);
    background-color: var(--color-cream);
    color: var(--color-ocean-deep);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* Maritime Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(61, 139, 159, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(26, 74, 107, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(127, 196, 201, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Navigation - Maritime Style */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--gradient-ocean);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 1.25rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(10, 37, 64, 0.2);
}

.navbar.scrolled {
    padding: 1rem 2rem;
    box-shadow: var(--shadow-md);
    background: var(--gradient-ocean);
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 50px;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-teal);
    transition: width 0.4s ease;
}

.logo:hover::after {
    width: 100%;
}

.logo img {
    height: 100%;
    width: auto;
    max-height: 50px;
    object-fit: contain;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.logo:hover {
    transform: translateY(-2px);
}

.logo:hover img {
    transform: scale(1.05);
    filter: brightness(0) invert(1) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

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

.nav-links a {
    text-decoration: none;
    color: var(--color-white);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-teal);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

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

.nav-links a:hover {
    color: var(--color-sea-foam-light);
    transform: translateY(-2px);
}

.nav-links a.active {
    color: var(--color-sea-foam-light);
    font-weight: 600;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--color-white);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-toggle:hover span {
    background: var(--color-sea-foam-light);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Hero Section - Maritime Theme */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    background: #ffffff;
}

/* Animated Wave Background - Large single wave that adapts to screen size, matching footer style */
.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5120 200' preserveAspectRatio='none'%3E%3Cpath fill='%231a4a6b' fill-opacity='0.15' d='M0,100L170,105C340,110,680,120,1020,115C1360,110,1700,100,2040,105C2380,110,2720,120,3060,115C3400,110,3740,100,4080,105C4420,110,4760,120,4950,115L5120,110L5120,200L4950,200C4760,200,4420,200,4080,200C3740,200,3400,200,3060,200C2720,200,2380,200,2040,200C1700,200,1360,200,1020,200C680,200,340,200,170,200L0,200Z'/%3E%3C/svg%3E") no-repeat bottom;
    background-size: 110% 200px;
    background-position: bottom center;
    animation: wave 12s ease-in-out infinite;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5120 150' preserveAspectRatio='none'%3E%3Cpath fill='%233d8b9f' fill-opacity='0.12' d='M0,80L170,85C340,90,680,100,1020,95C1360,90,1700,80,2040,85C2380,90,2720,100,3060,95C3400,90,3740,80,4080,85C4420,90,4760,100,4950,95L5120,90L5120,150L4950,150C4760,150,4420,150,4080,150C3740,150,3400,150,3060,150C2720,150,2380,150,2040,150C1700,150,1360,150,1020,150C680,150,340,150,170,150L0,150Z'/%3E%3C/svg%3E") no-repeat bottom;
    background-size: 110% 150px;
    background-position: bottom center;
    animation: wave 10s ease-in-out infinite reverse;
    z-index: 0;
}

@keyframes wave {
    0%, 100% { 
        transform: translateY(0) scaleY(1);
        opacity: 1;
    }
    25% { 
        transform: translateY(-15px) scaleY(1.08);
        opacity: 0.9;
    }
    50% { 
        transform: translateY(-20px) scaleY(1.12);
        opacity: 0.85;
    }
    75% { 
        transform: translateY(-15px) scaleY(1.08);
        opacity: 0.9;
    }
}

/* Floating Elements */
.hero-content {
    max-width: 900px;
    z-index: 1;
    position: relative;
    animation: fadeInUp 1s ease-out;
}

.hero-logo {
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.1s both;
    position: relative;
    display: inline-block;
}

.hero-logo img {
    max-width: 100%;
    height: auto;
    max-height: 360px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(10, 37, 64, 0.2));
    transition: filter 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    position: relative;
    z-index: 1;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none;
    opacity: 1 !important;
    animation: logoFadeIn 0.6s ease-out 0.1s;
    visibility: visible;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

@keyframes logoFadeIn {
    0% {
        opacity: 1;
        transform: scale(0.98);
    }
    100% {
        opacity: 1 !important;
        transform: scale(1);
    }
}

.hero-logo:hover img {
    transform: scale(1.08) !important;
}


.hero-logo:hover img {
    transform: scale(1.15);
}

@media (max-width: 768px) {
    .hero-logo img {
        max-height: 240px;
    }
}

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

.hero h1 {
    font-size: clamp(2.75rem, 6vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    padding-bottom: 0.2em;
    background: var(--gradient-ocean);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1.5px;
    animation: fadeInUp 1s ease-out 0.2s both;
    position: relative;
}

.hero p {
    font-size: clamp(1.2rem, 2.5vw, 1.75rem);
    color: var(--color-gray);
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Buttons - Maritime Style */
.btn {
    display: inline-block;
    padding: 1.125rem 2.75rem;
    background: var(--gradient-ocean);
    color: var(--color-white);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    letter-spacing: 0.3px;
    z-index: 10;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
    pointer-events: none;
    z-index: 1;
}

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

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    padding: 2px;
    background: var(--gradient-teal);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.btn:hover::after {
    opacity: 1;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-ocean);
    filter: brightness(1.05);
}

.btn:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-ocean);
    border: 2px solid var(--color-ocean);
    box-shadow: none;
}
.btn-secondary:hover {
    background: var(--gradient-ocean);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Only apply these styles to project pages, not index page */
body:not(.index-page) .card .btn-secondary {
    background: var(--gradient-ocean);
    color: var(--color-white);
    border: 2px solid var(--color-ocean);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    z-index: 10;
}

/* Pseudo-elements and hover states only for project pages */
body:not(.index-page) .card .btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
    z-index: -1;
    pointer-events: none;
}

body:not(.index-page) .card .btn-secondary:hover::before {
    left: 100%;
}

body:not(.index-page) .card .btn-secondary::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    padding: 2px;
    background: var(--gradient-teal);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    pointer-events: none;
}

body:not(.index-page) .card .btn-secondary:hover::after {
    opacity: 1;
}

body:not(.index-page) .card .btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-ocean);
    filter: brightness(1.05);
}

/* Make buttons in cards equal size - only for project pages where buttons are side by side */
/* Target buttons that are adjacent siblings (next to each other) in cards */
.card .btn-secondary + .btn,
.card .btn + .btn-secondary {
    width: 350px;
    padding: 1.125rem 2.75rem;
    border: 2px solid var(--color-ocean);
    box-sizing: border-box;
}

/* Also target the first button when it's next to another button */
.card .btn-secondary:has(+ .btn),
.card .btn:has(+ .btn-secondary) {
    width: 350px;
    padding: 1.125rem 2.75rem;
    border: 2px solid var(--color-ocean);
    box-sizing: border-box;
}

/* Reset styles for buttons in index page cards (single buttons, not side by side) */
/* These buttons should not have the fixed width and should use original styles */
.index-page .card .btn,
.index-page .card .btn-secondary {
    width: auto;
    min-width: 0;
}

/* Make btn-secondary in index page cards look and behave like regular .btn */
.index-page .card .btn-secondary {
    background: var(--gradient-ocean);
    color: var(--color-white);
    border: none;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

/* Add the same pseudo-elements as .btn for hover effects */
.index-page .card .btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
    pointer-events: none;
    z-index: 1;
}

.index-page .card .btn-secondary:hover::before {
    left: 100%;
}

.index-page .card .btn-secondary::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    padding: 2px;
    background: var(--gradient-teal);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.index-page .card .btn-secondary:hover::after {
    opacity: 1;
}

.index-page .card .btn-secondary:hover {
    background: var(--gradient-ocean);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-ocean);
    filter: brightness(1.05);
}
/* Section Styles */
.section {
    padding: 6rem 0;
    position: relative;
}

.index-page .section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 0;
    position: relative;
    overflow: visible;
}

/* Wave Decoration for Sections */
.index-page .section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='%231a4a6b' fill-opacity='0.05' d='M0,50L48,55C96,60,192,70,288,70C384,70,480,60,576,55C672,50,768,50,864,55C960,60,1056,70,1152,70C1248,70,1344,60,1392,55L1440,50L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'%3E%3C/path%3E%3C/svg%3E") no-repeat top;
    background-size: cover;
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.index-page .section .container {
    position: relative;
    z-index: 1;
}

.index-page .section .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    width: 100%;
}

.index-page .section-title {
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.index-page .section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-teal);
    border-radius: 2px;
    opacity: 0.8;
}

.index-page .section-subtitle {
    margin-bottom: 2.5rem;
}

.index-page .section .grid {
    margin-top: 0;
    margin-bottom: 0;
}

.section-alt {
    background: linear-gradient(135deg, rgba(26, 74, 107, 0.06) 0%, rgba(61, 139, 159, 0.04) 100%);
}

.section-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    background: var(--gradient-ocean);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: -1px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--color-gray);
    text-align: center;
    max-width: 750px;
    margin: 0 auto 4rem;
    line-height: 1.7;
    font-weight: 400;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2.5rem;
    margin-top: 3rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.contact-grid-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Cards - Maritime Style */
.card {
    background: var(--gradient-card);
    padding: 2.75rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(26, 74, 107, 0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

/* Top border animation removed - too much animation */

.card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(61, 139, 159, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.card:hover::after {
    opacity: 1;
}

.card:hover {
    box-shadow: var(--shadow-ocean);
    border-color: rgba(26, 74, 107, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(250, 248, 243, 1) 100%);
}

.card h3 {
    font-size: 1.75rem;
    color: var(--color-ocean);
    margin-bottom: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.card p {
    color: var(--color-gray);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* About Section */
.team-member {
    text-align: center;
    padding: 2.5rem;
}

.team-member img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.75rem;
    border: 5px solid var(--color-ocean);
    box-shadow: 0 8px 24px rgba(26, 74, 107, 0.2), 0 0 0 4px rgba(61, 139, 159, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--gradient-card);
}

.team-member img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(26, 74, 107, 0.3), 0 0 0 6px rgba(61, 139, 159, 0.15);
    border-color: var(--color-ocean-light);
}

.team-member h3 {
    font-size: 2rem;
    color: var(--color-ocean);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.team-member .role {
    color: var(--color-gray);
    font-weight: 600;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
}

/* Dashboard Layout */
.dashboard-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
    align-items: start;
}

.dashboard-sidebar {
    position: sticky;
    top: 120px;
}

.dashboard-profile-card {
    background: var(--gradient-card);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 2px solid rgba(26, 74, 107, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.dashboard-profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-teal);
}

.dashboard-profile-card img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: block;
    object-fit: cover;
    border: 5px solid var(--color-ocean);
    box-shadow: var(--shadow-md);
}

.dashboard-profile-card h3 {
    font-size: 1.75rem;
    color: var(--color-ocean);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.dashboard-profile-card .role {
    color: var(--color-gray);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.dashboard-profile-card p {
    color: var(--color-gray);
    line-height: 1.7;
    font-size: 1rem;
    text-align: left;
}

.dashboard-company-card {
    background: var(--gradient-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 2px solid rgba(26, 74, 107, 0.1);
    margin-top: 2rem;
}

.dashboard-company-card h3 {
    font-size: 1.5rem;
    color: var(--color-ocean);
    margin-bottom: 1rem;
    font-weight: 700;
}

.dashboard-company-card p {
    color: var(--color-gray);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.dashboard-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.dashboard-section {
    background: var(--gradient-card);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 2px solid rgba(26, 74, 107, 0.1);
}

.dashboard-section h2 {
    font-size: 2rem;
    color: var(--color-ocean);
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.experience-card {
    background: var(--gradient-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 2px solid rgba(26, 74, 107, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.experience-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--color-ocean);
}

.experience-header {
    margin-bottom: 1rem;
}

.experience-title {
    font-size: 1.35rem;
    color: var(--color-ocean);
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.experience-company {
    font-size: 1rem;
    color: var(--color-gray);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.experience-period {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--color-ocean);
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    background: rgba(61, 139, 159, 0.1);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.experience-description {
    color: var(--color-gray);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.experience-responsibilities {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(26, 74, 107, 0.1);
}

.experience-responsibilities ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.experience-responsibilities ul li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

.experience-responsibilities ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--color-teal);
    font-weight: 700;
    font-size: 0.9rem;
}

/* Stats Cards */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--gradient-card);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 2px solid rgba(26, 74, 107, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-ocean);
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-ocean);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    color: var(--color-gray);
    font-size: 0.95rem;
    font-weight: 500;
}

@media (max-width: 1200px) {
    .dashboard-grid {
        grid-template-columns: 320px 1fr;
        gap: 2rem;
    }
}

@media (max-width: 968px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-sidebar {
        position: static;
    }
    
    .experience-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .dashboard-container {
        padding: 0 1.5rem;
    }
    
    .dashboard-section {
        padding: 2rem;
    }
    
    .experience-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Services */
.service-item {
    margin-bottom: 4rem;
}

.service-item h2 {
    font-size: 2.5rem;
    color: var(--color-ocean);
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.service-item h3 {
    font-size: 2rem;
    color: var(--color-ocean);
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.service-item ul {
    list-style: none;
    margin-top: 2rem;
}

.service-item ul li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--color-gray);
    font-size: 1.05rem;
    line-height: 1.8;
    transition: all 0.3s ease;
}

.service-item ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-teal);
    font-weight: 700;
    font-size: 1.2rem;
}

.service-item ul li:hover {
    color: var(--color-ocean);
    transform: translateX(5px);
    font-weight: 500;
}

/* Projects */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--gradient-card);
    border: 1px solid rgba(26, 74, 107, 0.1);
    backdrop-filter: blur(10px);
}

.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-ocean);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.project-card:hover::after {
    opacity: 0.05;
}

.project-card:hover {
    box-shadow: var(--shadow-xl);
}

.project-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-card-content {
    padding: 2rem;
    background: var(--gradient-card);
    position: relative;
    z-index: 1;
}

.project-card h3 {
    color: var(--color-ocean);
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.project-card p {
    color: var(--color-gray);
    font-size: 1rem;
    line-height: 1.7;
}

.placeholder-image {
    width: 100%;
    height: 280px;
    background: var(--gradient-ocean);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.3rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.placeholder-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation: shine 3s infinite;
}

.placeholder-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.1) 0%, transparent 50%, rgba(61, 139, 159, 0.1) 100%);
    pointer-events: none;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--color-ocean);
    font-weight: 600;
    font-size: 1.05rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.125rem 1.5rem;
    border: 2px solid rgba(90, 108, 125, 0.2);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--color-cream);
    color: var(--color-ocean-deep);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-ocean);
    box-shadow: 0 0 0 4px rgba(26, 74, 107, 0.15);
    transform: translateY(-2px);
    background: var(--color-white);
}

.form-group textarea {
    resize: vertical;
    min-height: 160px;
    line-height: 1.6;
}

/* Contact Card */
.contact-card {
    background: var(--gradient-card);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 2px solid rgba(26, 74, 107, 0.1);
    backdrop-filter: blur(10px);
}

.contact-card h2 {
    color: var(--color-ocean);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.contact-info {
    text-align: center;
}

.contact-info-company {
    font-weight: 700;
    color: var(--color-ocean);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    letter-spacing: 0.2px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
    padding: 1rem;
    background: rgba(61, 139, 159, 0.1);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    background: rgba(61, 139, 159, 0.15);
    transform: translateX(4px);
}

.contact-info-item-icon {
    font-size: 1.5rem;
    color: var(--color-ocean);
    flex-shrink: 0;
    width: 32px;
    text-align: center;
}

.contact-info-item-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.contact-info-item-label {
    font-weight: 600;
    color: var(--color-gray);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info-item-value {
    color: var(--color-ocean);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-info-item-value:hover {
    color: var(--color-ocean-light);
    text-decoration: none;
}

.contact-info a {
    color: var(--color-ocean);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.contact-info a:hover {
    color: var(--color-ocean-light);
    text-decoration: underline;
}

.contact-image-wrapper {
    height: 100%;
    display: flex;
    align-items: stretch;
}

.contact-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(26, 74, 107, 0.1);
}

/* Legal Pages */
.legal-content {
    max-width: 950px;
    margin: 0 auto;
    line-height: 1.9;
    background: var(--gradient-card);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(26, 74, 107, 0.08);
    box-shadow: var(--shadow-sm);
}

.legal-content h1 {
    font-size: 3rem;
    color: var(--color-ocean);
    margin-bottom: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.legal-content h2 {
    color: var(--color-ocean);
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    font-size: 2rem;
    font-weight: 700;
}

.legal-content h3 {
    color: var(--color-gray);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.legal-content p {
    margin-bottom: 1.25rem;
    color: var(--color-gray);
    font-size: 1.05rem;
}

.legal-content a {
    color: var(--color-ocean);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.legal-content a:hover {
    text-decoration: underline;
    color: var(--color-ocean-light);
}

/* Footer - Maritime Style */
.footer {
    background: var(--gradient-ocean);
    color: var(--color-white);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
    position: relative;
    overflow: hidden;
}

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

.footer::after {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='%23ffffff' fill-opacity='0.1' d='M0,50L48,55C96,60,192,70,288,70C384,70,480,60,576,55C672,50,768,50,864,55C960,60,1056,70,1152,70C1248,70,1344,60,1392,55L1440,50L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'%3E%3C/path%3E%3C/svg%3E") no-repeat top;
    background-size: cover;
    animation: wave 20s ease-in-out infinite;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.footer h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
    transition: all 0.3s ease;
}

.footer-logo img:hover {
    opacity: 1;
    transform: scale(1.05);
}

.footer p {
    margin-bottom: 0.75rem;
    opacity: 0.9;
    line-height: 1.8;
}

.footer a {
    color: var(--color-white);
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.footer a:hover {
    opacity: 1;
    transform: translateX(5px);
    text-decoration: none;
    color: var(--color-sea-foam-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 40px 0rem 40px;
  gap: 20px;
  margin-top: 3rem;
  opacity: 0.8;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 1;
}

.footer-bottom .left {
  flex: 1;
}

.footer-bottom .center {
  flex: 1;
  text-align: center;
  white-space: nowrap;
  color: var(--color-white);
  opacity: 0.9;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.footer-bottom .right {
  flex: 1;
  text-align: right;
  white-space: nowrap;
  color: var(--color-white);
  opacity: 0.7;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-right: 0.5rem;
  height: 100%;
}

.footer-bottom .right img {
  height: 45px;
  width: auto;
  vertical-align: middle;
  opacity: 0.8;
  filter: brightness(0) invert(1);
}

.digital-apes-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

.digital-apes-link:hover {
  opacity: 1;
  transform: translateY(-2px);
  text-decoration: none;
}

.digital-apes-link:active {
  transform: translateY(0);
  text-decoration: none;
}

/* Responsive */
@media (max-width: 968px) {
    /* Buttons in cards on tablets */
    .card .btn,
    .card .btn-secondary {
        width: 100%;
        max-width: 100%;
    }

    .card div[style*="text-align: center"] {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 1.5rem 0.5rem 1.5rem;
        text-align: center;
    }

    .footer-bottom .left {
        display: none;
    }

    .footer-bottom .center {
        width: 100%;
        text-align: center;
        order: 1;
    }

    .footer-bottom .right {
        width: 100%;
        text-align: center;
        justify-content: center;
        order: 2;
        margin-right: 0;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--gradient-ocean);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2.5rem;
        box-shadow: var(--shadow-lg);
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .navbar {
        padding: 1rem 1.5rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .section {
        padding: 4rem 0;
    }

    .hero {
        min-height: 85vh;
        padding-top: 120px;
    }

    .card {
        padding: 2rem;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    /* Responsive buttons in cards */
    .card .btn,
    .card .btn-secondary {
        width: 100%;
        max-width: 100%;
        margin-bottom: 1rem;
    }

    .card div[style*="text-align: center"] {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .card div[style*="text-align: center"] .btn:last-child,
    .card div[style*="text-align: center"] .btn-secondary:last-child {
        margin-bottom: 0;
    }
}

/* Cookie Banner - Maritime Style */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gradient-ocean);
    color: var(--color-white);
    padding: 2rem;
    z-index: 1001;
    display: none;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.cookie-banner.active {
    display: block;
    animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-banner-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-banner p {
    flex: 1;
    line-height: 1.7;
    font-size: 1.05rem;
}

.cookie-banner-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-banner .btn {
    background: var(--color-white);
    color: var(--color-ocean);
    border: none;
    padding: 0.875rem 2rem;
    font-weight: 600;
}

.cookie-banner .btn:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-ocean-light);
}

/* Smooth animations for scroll */
@media (prefers-reduced-motion: no-preference) {
    .card,
    .project-card,
    .service-item {
        animation: fadeInUp 0.6s ease-out both;
    }
}

/* Utility classes */
.text-gradient {
    background: var(--gradient-ocean);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Water Ripple Effect */
.water-ripple {
    position: relative;
    overflow: hidden;
}

.water-ripple::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(61, 139, 159, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.water-ripple:active::before {
    width: 300px;
    height: 300px;
}
