/* Base Styles & Reset */
:root {
    --primary-color: #2a4365;
    --primary-light: #4299e1;
    --accent-color: #4fd1c5;
    --dark-color: #1a202c;
    --light-color: #f7fafc;
    --background-color: #ffffff;
    --text-color: #2d3748;
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(42, 67, 101, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

a:hover {
    color: var(--primary-light);
}

ul {
    list-style-type: none;
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* Header Styles */
header {
    background-color: var(--background-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-color);
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav ul li a {
    font-weight: 500;
    color: var(--text-color);
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a:hover:after {
    width: 100%;
}

.nav-cta {
    background-color: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 30px;
}

.nav-cta:hover {
    background-color: var(--primary-light);
}

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

.menu-toggle {
    display: none;
    background: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.menu-toggle span {
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 7rem 0;
    background-color: var(--light-color);
    overflow: hidden;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(42, 67, 101, 0.05) 0%, rgba(66, 153, 225, 0.1) 100%);
    z-index: 1;
}

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

.hero-content {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-content h2 span {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero-content h2 span:after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--accent-color);
    opacity: 0.3;
    z-index: -1;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-color);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.button {
    display: inline-block;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    transition: var(--transition);
}

.button.primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 6px rgba(42, 67, 101, 0.25);
}

.button.primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 7px 14px rgba(42, 67, 101, 0.25);
}

.button.secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.button.secondary:hover {
    background-color: rgba(42, 67, 101, 0.05);
    transform: translateY(-3px);
}

.button.large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.button.small {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

/* Gallery Section */
.gallery {
    padding: 6rem 0;
    background-color: var(--background-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(42, 67, 101, 0.15);
}

.gallery-svg {
    width: 100%;
    height: auto;
    aspect-ratio: 3/4;
}

.gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gallery-info h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.view-more {
    text-align: center;
    margin-top: 2rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.arrow {
    margin-left: 6px;
    transition: var(--transition);
}

.text-link:hover .arrow {
    transform: translateX(5px);
}

/* Features Section */
.features {
    padding: 6rem 0;
    background-color: var(--light-color);
}

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

.feature {
    text-align: center;
}

.feature-icon {
    margin: 0 auto 1.5rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background-color);
    border-radius: 50%;
    box-shadow: var(--shadow);
}

.feature h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature p {
    color: var(--text-color);
    opacity: 0.8;
}

/* Discover Section */
.discover {
    padding: 6rem 0;
    background-color: var(--background-color);
}

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

.discover-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.discover-text p {
    margin-bottom: 2rem;
}

.discover-list {
    margin-bottom: 2rem;
}

.discover-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
}

.discover-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    background-color: var(--accent-color);
    border-radius: 50%;
}

.discover-visual {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Join Section */
.join {
    padding: 6rem 0;
    background-color: var(--light-color);
    background-image: linear-gradient(135deg, rgba(42, 67, 101, 0.05) 0%, rgba(66, 153, 225, 0.1) 100%);
}

.join-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background-color: var(--background-color);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(42, 67, 101, 0.1);
}

.join-box h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.join-box p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 5rem 0 2rem;
}

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

.footer-branding p.tagline {
    opacity: 0.7;
    margin-top: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--light-color);
}

.footer-logo span {
    font-weight: 600;
    font-size: 1.2rem;
}

.footer-icon {
    width: 40px;
    height: 40px;
}

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

.footer-column h3 {
    color: var(--light-color);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    height: 2px;
    width: 40px;
    background-color: var(--accent-color);
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: var(--light-color);
    opacity: 0.7;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    opacity: 1;
    color: var(--accent-color);
}

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

.copyright {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .discover-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-content h2 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    nav ul {
        position: fixed;
        top: 73px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        z-index: 999;
    }
    
    nav ul.show {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
    }
    
    .gallery-grid, .features-grid {
        gap: 1.5rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .join-box {
        padding: 2rem 1.5rem;
    }
    
    .join-box h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 5rem 0;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
