/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom Properties */
:root {
    --navy-blue: #182651;
    --red: #b72025;
    --white: #ffffff;
    --gold: #ebc370;
    --light-gray: #f8f9fa;
    --dark-gray: #6c757d;
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(24, 38, 81, 0.1);
    --shadow-hover: 0 8px 30px rgba(24, 38, 81, 0.15);
}

/* Font Face Declarations */
@font-face {
    font-family: 'Klavika';
    src: url('fonts/Klavika/klavika-bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mulish';
    src: url('fonts/Mulish/Mulish-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 400 600;
    font-style: normal;
    font-display: swap;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Klavika', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.25rem); }

p {
    margin-bottom: 1rem;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    min-width: 140px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--red), #d32f2f);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

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

.nav-logo .logo {
    height: 40px;
    width: auto;
}

.nav-links {
    display: none;
    gap: 2rem;
}

.nav-link {
    color: var(--navy-blue);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--red);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.language-toggle {
    background: var(--navy-blue);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.language-toggle:hover {
    background: var(--red);
    transform: translateY(-1px);
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--navy-blue);
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--navy-blue) 0%, #2a3f7a 100%);
    color: var(--white);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    text-align: center;
}

.hero-title {
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--white), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    margin-bottom: 1rem;
    color: var(--gold);
    font-weight: 600;
}

.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    margin-top: 2rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.fish-animation {
    font-size: 8rem;
    color: var(--gold);
    animation: swim 3s ease-in-out infinite;
    opacity: 0.8;
}

@keyframes swim {
    0%, 100% { transform: translateX(0) rotateY(0deg); }
    50% { transform: translateX(20px) rotateY(10deg); }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    color: var(--navy-blue);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--light-gray);
}

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

.about-text p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    line-height: 1.8;
    color: var(--dark-gray);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(24, 38, 81, 0.05);
}

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

.feature-icon {
    font-size: 3rem;
    color: var(--red);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--dark-gray);
    font-size: 0.95rem;
}

/* Approach Section */
.approach {
    padding: 6rem 0;
    background: var(--white);
}

.approach-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.approach-card {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(24, 38, 81, 0.05);
    position: relative;
    overflow: hidden;
}

.approach-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--red), var(--gold));
}

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

.approach-icon {
    font-size: 3.5rem;
    color: var(--red);
    margin-bottom: 1.5rem;
}

.approach-card h3 {
    color: var(--navy-blue);
    margin-bottom: 1.5rem;
}

.approach-card p {
    color: var(--dark-gray);
    line-height: 1.7;
}

/* Promise Section */
.promise {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--navy-blue) 0%, #2a3f7a 100%);
    color: var(--white);
}

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

.promise-text {
    text-align: center;
}

.promise .section-title {
    color: var(--white);
}

.promise .section-title::after {
    background: var(--gold);
}

.promise-description {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 2rem;
    line-height: 1.8;
    opacity: 0.9;
}

.promise-highlight {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: var(--gold);
    font-weight: 600;
    font-style: italic;
    line-height: 1.6;
}

.promise-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.promise-icon {
    font-size: 6rem;
    color: var(--gold);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* Footer */
.footer {
    background: var(--navy-blue);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    text-align: center;
}

.footer-logo .logo {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: var(--gold);
    font-weight: 600;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    color: var(--gold);
    margin-bottom: 1rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Mobile Menu */
.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 2rem;
    box-shadow: var(--shadow);
    border-top: 1px solid rgba(24, 38, 81, 0.1);
}

/* Responsive Design */
@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }
    
    .hero-content {
        text-align: left;
    }
    
    .about-content {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
    
    .about-text p {
        text-align: left;
    }
    
    .approach-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .promise-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .promise-text {
        text-align: left;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    
    .hero-container {
        gap: 4rem;
    }
    
    .about-features {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
