/* ========================================
   NovaOil Energy Corporation - Styles
   ======================================== */

/* CSS Variables for Theme */
:root {
    --primary-color: #0066cc;
    --secondary-color: #ff9500;
    --accent-color: #00d4ff;
    --dark-bg: #0a0e27;
    --darker-bg: #050814;
    --light-bg: #ffffff;
    --text-light: #ffffff;
    --text-dark: #1a1a1a;
    --text-gray: #a0a0a0;
    --overlay-dark: rgba(10, 14, 39, 0.85);
    --overlay-darker: rgba(5, 8, 20, 0.95);
    --gradient-primary: linear-gradient(135deg, #0066cc 0%, #00d4ff 100%);
    --gradient-secondary: linear-gradient(135deg, #ff9500 0%, #ff6b00 100%);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.3);
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;
}

/* Light Mode Variables */
body.light-mode {
    --dark-bg: #f5f7fa;
    --darker-bg: #ffffff;
    --text-light: #1a1a1a;
    --text-gray: #666666;
    --overlay-dark: rgba(255, 255, 255, 0.95);
    --overlay-darker: rgba(245, 247, 250, 0.98);
    --shadow-glow: 0 0 30px rgba(0, 102, 204, 0.15);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--darker-bg);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
    transition: background-color var(--transition-medium);
}

/* Animated Background Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--darker-bg);
    overflow: hidden;
}

.particle {
    position: absolute;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0.15;
    animation: float 20s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-100px) translateX(50px); }
    50% { transform: translateY(-200px) translateX(-30px); }
    75% { transform: translateY(-100px) translateX(-50px); }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all var(--transition-medium);
    background: transparent;
}

nav.scrolled {
    background: var(--overlay-darker);
    padding: 15px 50px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 1px;
}

.logo-accent {
    color: var(--accent-color);
}

.logo-underline {
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width var(--transition-medium);
    margin-top: 2px;
}

.logo:hover .logo-underline {
    width: 100%;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    padding: 5px 0;
    transition: color var(--transition-fast);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width var(--transition-medium);
}

.nav-links li a:hover {
    color: var(--accent-color);
}

.nav-links li a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--text-light);
    transition: all var(--transition-fast);
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.theme-toggle,
.scroll-top {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--gradient-primary);
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
    opacity: 0;
    visibility: hidden;
}

.scroll-top.visible,
.theme-toggle {
    opacity: 1;
    visibility: visible;
}

.theme-toggle:hover,
.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    background: url('https://images.unsplash.com/photo-1497366811353-6870744d04b2?w=1920') center/cover fixed;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.92) 0%, rgba(5, 8, 20, 0.88) 100%);
    pointer-events: none;
    animation: overlayPulse 8s ease-in-out infinite;
}

@keyframes overlayPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.95; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--accent-color);
    border-radius: 30px;
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--text-light) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .word {
    opacity: 1 !important;
    animation: none !important;
}


.hero-title .word:nth-child(1) { animation-delay: 0.1s; }
.hero-title .word:nth-child(2) { animation-delay: 0.2s; }
.hero-title .word:nth-child(3) { animation-delay: 0.3s; }
.hero-title .word:nth-child(4) { animation-delay: 0.4s; }
.hero-title .word:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    position: relative;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    transition: all var(--transition-medium);
}

.cta-button.primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.cta-button.secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--accent-color);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.button-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.cta-button:hover .button-glow {
    opacity: 1;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--accent-color);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

.scroll-text {
    font-size: 12px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Stats Section */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 80px 50px;
    background: var(--dark-bg);
    text-align: center;
}

.stat-item {
    padding: 30px;
    border-radius: 15px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all var(--transition-medium);
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(0, 212, 255, 0.1);
    box-shadow: var(--shadow-glow);
}

.stat-number {
    font-size: 56px;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 10px;
    animation: countUp 2s ease-out forwards;

}
@keyframes countUp {
    0% { content: '0'; }
    100% { content: attr(data-number); }
}

.stat-number::after {
    content: '+';
}

.stat-label {
    font-size: 16px;
    color: var(--text-gray);
    font-weight: 500;
}

/* About Section */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    align-items: center;
}

.about-image {
    position: relative;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?w=1200') center/cover;
    min-height: 600px;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, var(--darker-bg) 100%);
}

.about-content {
    padding: 80px 100px 80px 80px;
    background: var(--darker-bg);
}

.section-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.section-label.center {
    text-align: center;
}

.section-label.light {
    color: var(--text-light);
}

.section-heading {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-light);
}

.decorative-line {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin-bottom: 30px;
    border-radius: 2px;
}

.decorative-line.center {
    margin-left: auto;
    margin-right: auto;
}

.decorative-line.light {
    background: var(--text-light);
}

.about-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.highlight {
    color: var(--accent-color);
    font-weight: 600;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    border-radius: 10px;
    background: rgba(0, 212, 255, 0.05);
    transition: all var(--transition-medium);
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(0, 212, 255, 0.1);
}

.feature-icon {
    font-size: 32px;
}

.feature-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    text-align: center;
}

/* Services Section */
.services {
    padding: 100px 50px;
    background: var(--dark-bg);
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    position: relative;
    padding: 40px;
    background: var(--darker-bg);
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all var(--transition-medium);
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-glow);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
    transition: transform var(--transition-medium), color var(--transition-medium);

}
.service-card:hover .service-icon {
    transform: scale(1.2) rotate(10deg);
    color: var(--accent-color);
}

.service-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 72px;
    font-weight: 800;
    color: rgba(0, 212, 255, 0.05);
    transition: color var(--transition-medium);
}

.service-card:hover .service-number {
    color: rgba(0, 212, 255, 0.15);
}

.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-light);
}

.service-card p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-gray);
}

.service-hover-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-medium);
}

.service-card:hover .service-hover-effect {
    transform: scaleX(1);
}

/* Projects Section */
.projects {
    padding: 100px 50px;
    background: var(--darker-bg);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.project-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    height: 400px;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-content {
    text-align: center;
    padding: 30px;
    transform: translateY(20px);
    transition: transform var(--transition-medium);
}

.project-card:hover .project-content {
    transform: translateY(0);
}

.project-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.project-content p {
    font-size: 16px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.project-link {
    display: inline-block;
    padding: 10px 25px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.project-link:hover {
    transform: translateX(5px);
}

.project-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.project-card:hover .project-shine {
    left: 100%;
}

/* Contact Section */
.contact {
    position: relative;
    padding: 100px 50px;
    background: var(--dark-bg);
    overflow: hidden;
}

.contact-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1200') center/cover;
    opacity: 0.03;
}

.contact-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.contact-title {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-light);
}

.contact-email {
    text-align: center;
    font-size: 24px;
    color: var(--accent-color);
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.email-icon {
    font-size: 28px;
}

.contact-form {
    background: rgba(0, 212, 255, 0.03);
    padding: 50px;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(0, 212, 255, 0.2);
    color: var(--text-light);
    font-size: 16px;
    transition: all var(--transition-fast);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: var(--accent-color);
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-medium);
}

.form-group input:focus ~ .input-line,
.form-group textarea:focus ~ .input-line {
    width: 100%;
}

.submit-button {
    position: relative;
    width: 100%;
    padding: 18px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    transition: all var(--transition-medium);
    margin-top: 20px;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.button-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.submit-button:hover .button-shine {
    left: 100%;
}

.form-message {
    margin-top: 15px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background: rgba(0, 255, 0, 0.1);
    color: #00ff00;
    border: 1px solid rgba(0, 255, 0, 0.3);
}

.form-message.error {
    background: rgba(255, 0, 0, 0.1);
    color: #ff4444;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

/* Footer */
footer {
    background: var(--darker-bg);
    padding: 80px 50px 30px;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    margin-bottom: 10px;
}

.footer-description {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-gray);
}

.footer-heading {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 5px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-contact {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.footer-contact a {
    color: var(--accent-color);
    text-decoration: none;
}

.newsletter-form .form-group {
    margin-bottom: 15px;
}

.newsletter-button {
    margin-top: 10px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.social-icon:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.copyright {
    text-align: center;
    font-size: 14px;
    color: var(--text-gray);
    padding-top: 30px;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    nav {
        padding: 20px 30px;
    }

    .about {
        grid-template-columns: 1fr;
    }

    .about-content {
        padding: 60px 50px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 60px 30px;
    }

    .hero-title {
        font-size: 56px;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 15px 20px;
    }

    nav.scrolled {
        padding: 12px 20px;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background: var(--overlay-darker);
        width: 250px;
        height: calc(100vh - 70px);
        padding: 40px 20px;
        gap: 20px;
        transition: right var(--transition-medium);
        box-shadow: var(--shadow-lg);
        backdrop-filter: blur(10px);
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 50px 20px;
    }

    .about-image {
        min-height: 400px;
    }

    .about-content {
        padding: 50px 30px;
    }

    .section-heading {
        font-size: 36px;
    }

    .section-title {
        font-size: 36px;
    }

    .services {
        padding: 80px 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .projects {
        padding: 80px 30px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .contact {
        padding: 80px 30px;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .floating-buttons {
        right: 20px;
        bottom: 20px;
    }

    .theme-toggle,
    .scroll-top {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-button {
        width: 100%;
    }

    .stat-number {
        font-size: 42px;
    }

    .contact-title {
        font-size: 36px;
    }

    .contact-email {
        font-size: 18px;
        flex-direction: column;
    }
}