/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #0f0f0f;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header and Navigation */
header {
    background-color: #1a1a1a;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo svg {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f0f0f0;
    white-space: nowrap;
}

.logo-accent {
    color: #06b6d4;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #c0c0c0;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: #06b6d4;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
    width: 25px;
    height: 25px;
}

.hamburger svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #f0f0f0;
    transition: opacity 0.3s ease;
}

.icon-hamburger {
    opacity: 1;
}

.icon-close {
    opacity: 0;
}

.hamburger.active .icon-hamburger {
    opacity: 0;
}

.hamburger.active .icon-close {
    opacity: 1;
}

/* Main content should fill remaining space */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Hero Section (Homepage) */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a1929 0%, #1a3a52 50%, #0d4d5c 100%);
    color: white;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #06b6d4 0%, #14b8a6 100%);
    color: #0a1929;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.4);
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 5%;
}

/* About Section */
.about-section {
    background-color: #141414;
    min-height: calc(100vh - 80px);
}

.about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-header h1 {
    color: #f0f0f0;
    font-size: 3rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.about-subtitle {
    color: #06b6d4;
    font-size: 1.2rem;
    font-weight: 400;
    margin: 0;
}

.about-content {
    max-width: 1100px;
    margin: 0 auto;
}

.about-intro {
    background: #242424;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid #2a2a2a;
    margin-bottom: 3rem;
    text-align: center;
}

.about-intro h2 {
    color: #06b6d4;
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    font-weight: 500;
}

.about-intro p {
    color: #d0d0d0;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.about-card {
    background: #242424;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid #2a2a2a;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.about-card h3 {
    color: #f0f0f0;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.about-card p {
    color: #c0c0c0;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

.about-features {
    background: #242424;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid #2a2a2a;
    margin-bottom: 2rem;
}

.about-features h2 {
    color: #f0f0f0;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-align: center;
}

.features-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.features-list li {
    padding: 1.5rem;
    background-color: #353535;
    border-left: 3px solid #06b6d4;
    border-radius: 8px;
    color: #c0c0c0;
    line-height: 1.7;
    font-size: 0.95rem;
}

.features-list li strong {
    color: #06b6d4;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.about-commitment {
    background: linear-gradient(135deg, #1a2a3a 0%, #1a3a2a 100%);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid #2a4a3a;
    text-align: center;
}

.about-commitment h2 {
    color: #06b6d4;
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    font-weight: 500;
}

.about-commitment p {
    color: #d0d0d0;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
    max-width: 900px;
    margin: 0 auto;
}

/* Contact Section */
.contact-section {
    background-color: #141414;
    min-height: calc(100vh - 80px);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2.5rem;
}

.contact-content h1 {
    color: #f0f0f0;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-align: center;
    grid-column: 1 / -1;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.contact-info {
    background: #242424;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid #2a2a2a;
}

.contact-info h2 {
    color: #f0f0f0;
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
    font-weight: 500;
}

.contact-info > p {
    color: #a0a0a0;
    margin-bottom: 2.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.info-items {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.info-item {
    padding: 1.2rem;
    background-color: #353535;
    border-radius: 8px;
    border-left: 3px solid #06b6d4;
}

.info-item h3 {
    color: #06b6d4;
    margin-bottom: 0.6rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.info-item p {
    color: #d0d0d0;
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

.info-item a {
    color: #06b6d4;
    transition: color 0.3s ease;
    text-decoration: none;
    font-weight: 500;
}

.info-item a:hover {
    color: #14b8a6;
    text-decoration: underline;
}

/* Email copy button */
.email-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.copy-btn {
    background: transparent;
    border: 1px solid #353535;
    color: #888888;
    cursor: pointer;
    padding: 0.4rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.copy-btn:hover {
    background-color: #2a2a2a;
    border-color: #555555;
    color: #b0b0b0;
}

.copy-btn:active {
    transform: scale(0.95);
}

.copy-btn.copied {
    background-color: #2a4a3a;
    border-color: #4a7c59;
    color: #7fb894;
}

.copy-btn svg {
    width: 16px;
    height: 16px;
}

.copy-btn .copy-icon {
    display: block;
}

.copy-btn .check-icon {
    display: none;
    color: #5fba7d;
}

.copy-btn.copied .copy-icon {
    display: none;
}

.copy-btn.copied .check-icon {
    display: block;
}

/* Contact Form */
.contact-form-wrapper {
    background: #242424;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid #2a2a2a;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    color: #e0e0e0;
    font-weight: 500;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid #404040;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background-color: #353535;
    color: #e0e0e0;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #06b6d4;
    background-color: #3a3a3a;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #707070;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #06b6d4 0%, #14b8a6 100%);
    color: #0a1929;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 450;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
    margin-top: 0.5rem;
    letter-spacing: 0.3px;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.35);
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
}

.submit-button:active {
    transform: translateY(0);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Footer */
footer {
    background-color: #0a0a0a;
    color: #c0c0c0;
    text-align: center;
    padding: 2rem;
    margin-top: auto;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        padding: 1rem 4%;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        background-color: #1a1a1a;
        flex-direction: column;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
        gap: 0;
        padding: 0;
    }

    .nav-links.active {
        max-height: 300px;
        padding: 1rem 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #2a2a2a;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
        font-size: 1rem;
        width: 100%;
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background-color: #2a2a2a;
        color: #06b6d4;
    }

    .hero {
        padding: 1.5rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    .cta-button {
        padding: 0.9rem 2.2rem;
        font-size: 1rem;
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content h1 {
        font-size: 2.2rem;
    }

    .about-content,
    .contact-info,
    .contact-form-wrapper {
        padding: 2rem;
    }

    .info-item {
        padding: 1rem;
    }

    .container {
        padding: 2rem 4%;
    }

    .about-header h1,
    .contact-content h1 {
        font-size: 2rem;
    }

    .about-subtitle {
        font-size: 1rem;
    }

    .about-intro {
        padding: 2rem;
    }

    .about-intro h2 {
        font-size: 1.5rem;
    }

    .about-intro p {
        font-size: 1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-card {
        padding: 1.8rem;
    }

    .about-card h3 {
        font-size: 1.3rem;
    }

    .about-features {
        padding: 2rem;
    }

    .about-features h2 {
        font-size: 1.5rem;
    }

    .features-list {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .about-commitment {
        padding: 2rem;
    }

    .about-commitment h2 {
        font-size: 1.5rem;
    }

    .about-commitment p {
        font-size: 1rem;
    }

    .submit-button {
        min-height: 48px;
        font-size: 1rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        min-height: 48px;
    }

    .form-group textarea {
        min-height: 120px;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 1rem 4%;
    }

    .logo h2 {
        font-size: 1.5rem;
    }

    .hamburger span {
        width: 22px;
        height: 2.5px;
    }

    .nav-links a {
        padding: 1rem;
        font-size: 1rem;
    }

    .hero {
        padding: 1rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 0.8rem;
    }

    .hero-content p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }

    .cta-button {
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
        width: 90%;
        max-width: 300px;
        min-height: 48px;
    }

    .container {
        padding: 1.5rem 4%;
    }

    .contact-info,
    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .about-header h1,
    .contact-content h1 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .about-subtitle {
        font-size: 0.95rem;
    }

    .about-intro {
        padding: 1.5rem;
    }

    .about-intro h2 {
        font-size: 1.3rem;
    }

    .about-intro p {
        font-size: 0.95rem;
    }

    .about-grid {
        gap: 1.2rem;
    }

    .about-card {
        padding: 1.5rem;
    }

    .about-card h3 {
        font-size: 1.2rem;
    }

    .about-card p {
        font-size: 0.95rem;
    }

    .about-features {
        padding: 1.5rem;
    }

    .about-features h2 {
        font-size: 1.3rem;
    }

    .features-list {
        gap: 1rem;
    }

    .features-list li {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .about-commitment {
        padding: 1.5rem;
    }

    .about-commitment h2 {
        font-size: 1.3rem;
    }

    .about-commitment p {
        font-size: 0.95rem;
    }

    .info-item {
        padding: 1rem;
    }

    .info-item h3 {
        font-size: 0.85rem;
    }

    footer {
        padding: 1.5rem 1rem;
        font-size: 0.9rem;
    }

    .submit-button {
        width: 100%;
        min-height: 50px;
    }

    .form-group {
        margin-bottom: 1.2rem;
    }

    .form-group label {
        font-size: 0.95rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px;
        padding: 0.9rem;
        min-height: 50px;
    }

    .form-group textarea {
        min-height: 140px;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .logo h2 {
        font-size: 1.3rem;
    }

    .nav-links a {
        font-size: 0.85rem;
        padding: 0.4rem 0.6rem;
    }
}

/* Toast Notifications */
.toast {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: #242424;
    color: #e0e0e0;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    z-index: 10000;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid #2a2a2a;
    min-width: 300px;
    max-width: 500px;
}

.toast.show {
    top: 2rem;
}

.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-success {
    border-left: 4px solid #06b6d4;
}

.toast-success .toast-icon {
    color: #06b6d4;
}

.toast-error {
    border-left: 4px solid #ef4444;
}

.toast-error .toast-icon {
    color: #ef4444;
}

.toast-message {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .toast {
        min-width: 280px;
        max-width: calc(100% - 2rem);
        padding: 0.9rem 1.2rem;
    }

    .toast.show {
        top: 1rem;
    }

    .toast-message {
        font-size: 0.9rem;
    }
}
