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

:root {
    --primary-color: #006994;
    --secondary-color: #00a8cc;
    --accent-color: #4dd0e1;
    --dark-blue: #003d5c;
    --light-blue: #e0f7ff;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.brand-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 61, 92, 0.5);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 168, 204, 0.3);
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 204, 0.4);
}

/* About Section */
.about {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

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

.about-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

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

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: fadeIn 1s ease;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Marine Life Section */
.marine-life {
    padding: 6rem 0;
    background: var(--white);
}

.marine-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.marine-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.marine-image {
    height: 250px;
    overflow: hidden;
}

.marine-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Carousel Styles */
.carousel-container {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.carousel-image.active {
    opacity: 1;
    pointer-events: auto;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
}

.carousel-container:hover .carousel-btn {
    opacity: 1;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn span {
    font-size: 2rem;
    line-height: 1;
    font-weight: bold;
}

.carousel-btn-prev {
    left: 10px;
}

.carousel-btn-next {
    right: 10px;
}

.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.indicator.active {
    background: white;
    border-color: var(--secondary-color);
}

/* Disable zoom effect on carousel images */
.sea-hamster-card:hover .carousel-image,
.pink-panther-card:hover .carousel-image {
    transform: none;
}

.marine-content {
    padding: 2rem;
}

.marine-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.marine-content p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Sea Hamster Submission Form */
.sea-hamster-submission {
    padding: 6rem 0;
    background: linear-gradient(135deg, #fff5e6 0%, #ffe6f0 100%);
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.submission-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    padding: 0.9rem 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 168, 204, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.file-upload-group {
    margin-top: 1rem;
}

.file-info {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-style: italic;
}

.form-group input[type="file"] {
    display: none;
}

.file-upload-display {
    border: 3px dashed var(--secondary-color);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    background: linear-gradient(135deg, #f0fbff 0%, #fff5f8 100%);
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-display:hover {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, #e0f7ff 0%, #ffe6f0 100%);
    transform: translateY(-3px);
}

.file-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.file-text {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 1.1rem;
}

.submission-form .btn {
    margin-top: 1rem;
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
}

/* Conservation Section */
.conservation {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-blue) 100%);
    color: var(--white);
}

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

.conservation-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.conservation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.conservation-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.conservation-text .lead {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.conservation-text > p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.conservation-actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.action-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.action-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
}

.action-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.action-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.action-content p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Facts Section */
.facts {
    padding: 6rem 0;
    background: var(--light-blue);
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.fact-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.fact-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.fact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.fact-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.fact-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Ocean Formation Section */
.ocean-formation {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-blue) 50%, var(--white) 100%);
}

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

.formation-timeline {
    position: relative;
    padding-left: 2rem;
}

.formation-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    border-radius: 3px;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-icon {
    position: absolute;
    left: -2.9rem;
    width: 3.5rem;
    height: 3.5rem;
    background: var(--white);
    border: 3px solid var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

.timeline-content {
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    flex: 1;
}

.timeline-content:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.timeline-content h3 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-content h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

.formation-summary {
    position: sticky;
    top: 100px;
}

.formation-summary h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.formation-summary > p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.formation-facts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.formation-fact {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: start;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.formation-fact:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.fact-icon {
    font-size: 2.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.formation-fact h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.formation-fact p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
    padding-left: 5px;
}

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

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu li {
        padding: 1rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

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

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

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

    .conservation-content .conservation-image {
        order: 2;
    }

    .formation-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .formation-summary {
        position: static;
    }

    .marine-grid,
    .facts-grid {
        grid-template-columns: 1fr;
    }

    .carousel-btn {
        opacity: 1;
    }

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

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

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .section-header h2 {
        font-size: 2rem;
    }

    .about-text h3,
    .conservation-text h2 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

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

    .container {
        padding: 0 15px;
    }

    .about,
    .marine-life,
    .conservation,
    .facts,
    .sea-hamster-submission {
        padding: 3rem 0;
    }
    
    .form-container {
        padding: 2rem 1.5rem;
    }
    
    .file-upload-display {
        padding: 2rem 1rem;
    }
    
    .file-icon {
        font-size: 2.5rem;
    }
    
    .file-text {
        font-size: 0.95rem;
    }

    .marine-content,
    .fact-card {
        padding: 1.5rem;
    }

    .formation-timeline {
        padding-left: 1.5rem;
    }

    .timeline-icon {
        left: -2.5rem;
        width: 3rem;
        height: 3rem;
        font-size: 1.3rem;
    }

    .timeline-item {
        gap: 1rem;
    }

    .timeline-content {
        padding: 1rem 1.5rem;
    }

    .timeline-content h3 {
        font-size: 1rem;
    }

    .timeline-content h4 {
        font-size: 1.2rem;
    }

    .formation-summary h3 {
        font-size: 1.6rem;
    }

    .formation-fact {
        padding: 1rem;
        gap: 1rem;
    }

    .fact-icon {
        font-size: 2rem;
    }
}