/* ==== BRAND IDENTITY - DIREITO NO CONTROLE ==== */
/* 
 * COLORS FROM BRAND MANUAL:
 * Primary Colors:
 * - Ametista (Purple): #6F379B
 * - Amaranto (Pink/Red): #FF216B
 * 
 * Support Colors:
 * - Light Purple: #BCA4D2
 * - Medium Purple: #9A79BF
 * - Dark Navy: #2D2038
 * - Dark Red: #801139
 * - Light Pink: #FF6691
 * 
 * Typography: Work Sans (Main Font)
 */

/* ==== RESET & GLOBAL ==== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Primary Colors - DARK THEME */
    --brand-primary: #9a79bf;        /* H1 titles */
    --brand-accent: #ff86ad;         /* H3/H4 subtitles */
    
    /* Brand Support Colors - DARK THEME */
    --brand-light-purple: #9a79bf;
    --brand-medium-purple: #9a79bf;
    --brand-dark-navy: #131524;
    --brand-dark-red: #ff86ad;
    --brand-light-pink: #ff86ad;
    
    /* Functional Colors - DARK THEME */
    --primary-color: #9a79bf;        /* H1 titles */
    --secondary-color: #ff86ad;      /* H3/H4 subtitles */
    --accent-color: #9a79bf;         /* Using medium purple */
    --text-dark: #d0dee3;            /* General text */
    --text-light: #d0dee3;           /* General text */
    --bg-light: #1a1d33;             /* Light background variation */
    --bg-white: #131524;             /* Main background */
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.4);
}

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Work Sans', 'Montserrat', sans-serif; /* Brand font first */
    color: #d0dee3; /* General text color */
    background: #131524; /* Main background */
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4 {
    font-family: 'Work Sans', 'Playfair Display', serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

/* ==== NAVIGATION ==== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #0c0d18; /* Dark background variation */
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
}

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

/* Logo with brand image */
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
}

.logo span {
    color: var(--secondary-color);
}

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

.nav-menu a {
    color: #d0dee3; /* General text color */
    font-weight: 500;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff86ad; /* H3/H4 subtitles color */
    transition: width 0.3s ease;
}

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

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* ==== HERO SECTION ==== */

/* Título principal com Orbitron */
.hero h1 {
    font-family: 'Orbitron', 'Work Sans', 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: -0.03em;
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #9a79bf;
}

/* Números dos cards de estatísticas com Orbitron */
.about-stats .stat-card h4 {
    font-family: 'Orbitron', 'Work Sans', 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: -0.03em;
}



.hero {
    margin-top: 80px;
    background-color: #2D2038;
    color: #fafffd;
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #140a36 0%, #3a1444 50%, #5a1239 100%);
    background-size: cover;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}



.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    color: #d0dee3; /* General text color */
}

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

.btn {
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: #ff86ad; /* H3/H4 subtitles color */
    color: #131524; /* Main background for contrast */
}

.btn-primary:hover {
    background: #9a79bf; /* H1 title color on hover */
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 134, 173, 0.3);
}

.btn-outline {
    background: transparent;
    color: #fafffd; /* H2 title color */
    border: 2px solid #fafffd;
}

.btn-outline:hover {
    background: #fafffd;
    color: #131524; /* Main background */
}

/* ==== SECTIONS ==== */
section {
    padding: 5rem 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    width: 100%;
    max-width: 100%;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

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

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

.section-header h2 {
    font-family: 'Orbitron', 'Work Sans', 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: -0.03em;
    font-size: 2.5rem;
    color: #fafffd;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #ff86ad; /* H3/H4 subtitles color */
    border-radius: 2px;
}

.section-header p {
    color: #d0dee3; /* General text color */
    font-size: 1.1rem;
    max-width: 700px;
    margin: 1.5rem auto 0;
}

/* ==== ABOUT NCDD ==== */
#sobre {
    background: var(--bg-light);
}

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

.about-text h3 {
    font-size: 2rem;
    color: #ff86ad; /* H3/H4 subtitles color */
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #d0dee3; /* General text color */
    text-align: justify;
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    background: linear-gradient(135deg, #0f111f, #1a1d33); /* Dark gradient */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fafffd;
    font-size: 3rem;
}

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

.stat-card {
    text-align: center;
    padding: 2rem;
    background: #202133; /* Dark background variation */
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

.stat-card i {
    font-size: 3rem;
    color: #ff86ad; /* H3/H4 subtitles color */
    margin-bottom: 1rem;
}

.stat-card h4 {
    font-size: 2rem;
    color: #ff86ad; /* H3/H4 subtitles color */
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: #d0dee3; /* General text color */
}

/* ==== TEAM ==== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-card {
    background: #202133; /* Dark background variation */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.team-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #0f111f, #1a1d33); /* Dark gradient */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fafffd;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.team-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
}

.team-content {
    padding: 2rem;
}

.team-content h3 {
    font-size: 1.5rem;
    color: #ff86ad; /* H3/H4 subtitles color */
    margin-bottom: 0.5rem;
}

.team-content .position {
    color: #9a79bf; /* H1 title color */
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.team-content p {
    color: #d0dee3; /* General text color */
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.team-content ul {
    list-style: none;
    margin-bottom: 1rem;
}

.team-content ul li {
    padding: 0.3rem 0;
    color: #d0dee3; /* General text color */
    font-size: 0.9rem;
}

.team-content ul li i {
    color: #ff86ad; /* H3/H4 subtitles color */
    margin-right: 0.5rem;
}

/* ==== SERVICES ==== */
#servicos {
    background: var(--bg-light);
}

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

.service-card {
    background: #202133; /* Dark background variation */
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #ff86ad; /* H3/H4 subtitles color */
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    color: #ff86ad; /* H3/H4 subtitles color */
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: #9a79bf; /* H1 title color */
}

.service-card h3 {
    font-size: 1.3rem;
    color: #ff86ad; /* H3/H4 subtitles color */
    margin-bottom: 1rem;
}

.service-card p {
    color: #d0dee3; /* General text color */
    font-size: 0.95rem;
}

/* ==== CONTACT ==== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    width: 100%;
    max-width: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    max-width: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #202133; /* Light background variation */
    border-radius: 10px;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.contact-item:hover {
    background: #0c0d18; /* Dark background variation */
    box-shadow: var(--shadow);
    transform: translateX(5px);
}

.contact-icon {
    font-size: 2rem;
    color: #ff86ad; /* H3/H4 subtitles color */
    background: #0c0d18; /* Dark background variation */
    width: 60px;
    height: 60px;
    min-width: 60px; /* Prevent shrinking */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--shadow);
}

.contact-details {
    flex: 1;
    min-width: 0; /* Allow text to wrap */
    width: 100%;
}

.contact-details h4 {
    color: #ff86ad; /* H3/H4 subtitles color */
    margin-bottom: 0.5rem;
    word-wrap: break-word;
}

.contact-details p, .contact-details a {
    color: #d0dee3; /* General text color */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-details a:hover {
    color: #9a79bf; /* H1 title color */
}

.contact-form {
    background: #202133; /* Light background variation */
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.form-group {
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ff86ad; /* H3/H4 subtitles color */
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    max-width: 100%;
    padding: 0.9rem;
    border: 2px solid #0c0d18;
    background: #0c0d18; /* Dark background variation */
    color: #d0dee3; /* General text color */
    border-radius: 5px;
    font-family: 'Work Sans', 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff86ad; /* H3/H4 subtitles color */
    box-shadow: 0 0 0 3px rgba(255, 134, 173, 0.1);
}

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

.form-submit {
    width: 100%;
    max-width: 100%;
    padding: 1rem;
    background: #9a79bf; /* H1 title color */
    color: #fafffd; /* H2 title color */
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-submit:hover {
    background: #ff86ad; /* H3/H4 subtitles color */
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    display: none;
    font-weight: 500;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-message.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Disabled button state */
.form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ==== SOCIAL MEDIA ==== */
#redes-sociais {
    background: linear-gradient(135deg, #0f111f 0%, #1a1d33 100%); /* Dark gradient */
    color: #fafffd;
}

#redes-sociais .section-header h2,
#redes-sociais .section-header p {
    color: #fafffd;
}

.social-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-link {
    width: 80px;
    height: 80px;
    background: rgba(255, 134, 173, 0.1);
    border: 2px solid rgba(255, 134, 173, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fafffd;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #ff86ad; /* H3/H4 subtitles color */
    color: #131524; /* Main background */
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* ==== FOOTER ==== */
footer {
    background: #0c0d18; /* Dark background variation */
    color: #d0dee3; /* General text color */
    text-align: center;
    padding: 2rem;
}

footer p {
    margin-bottom: 0.5rem;
}

footer a {
    color: #ff86ad; /* H3/H4 subtitles color */
}

footer a:hover {
    text-decoration: underline;
}

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

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

/* ==== RESPONSIVE ==== */
/* ==================== CRITICAL MOBILE FIXES ==================== */
/* 
 * These fixes ensure 100% width usage on mobile devices
 * and eliminate white margin on the left side
 */

@media (max-width: 968px) {

    .hero h1 {
        font-family: 'Orbitron', 'Work Sans', 'Montserrat', sans-serif;
        font-size: 2rem;
    }

    .section-header h2 {
        font-family: 'Orbitron', 'Work Sans', 'Montserrat', sans-serif;
        font-size: 2rem;
    }

    html, body {
        width: 100%;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
    }
    
    .nav-container {
        padding: 1rem 1.5rem;
        width: 100%;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background: #0c0d18; /* Dark background variation */
        width: 100%;
        text-align: center;
        padding: 2rem 0;
        box-shadow: var(--shadow);
        transition: left 0.3s ease;
        margin: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero {
        padding: 4rem 1.5rem;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-content {
        width: 100%;
        padding: 0;
    }
    
    section {
        padding: 3rem 1.5rem;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    
    .container {
        width: 100%;
        padding: 0;
        margin: 0 auto;
    }
    
    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
        width: 100%;
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .logo-img {
        height: 40px;
    }
    
    /* Contact section optimizations for tablets */
    .contact-info {
        width: 100%;
        gap: 1.5rem;
    }
    
    .contact-item {
        width: 100%;
        padding: 1.25rem;
        gap: 1rem;
    }
    
    .contact-form {
        width: 100%;
        padding: 2rem;
    }
    
    .contact-icon {
        width: 55px;
        height: 55px;
        min-width: 55px;
        font-size: 1.75rem;
    }
}

/* Additional mobile breakpoints */
@media (max-width: 768px) {
    html, body {
        width: 100%;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
    }
    
    section {
        padding: 3rem 1rem;
        width: 100%;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .hero {
        padding: 3rem 1rem;
    }
    
    .team-grid,
    .services-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Contact section mobile optimizations - CRITICAL */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 100%;
        max-width: 100%;
    }
    
    .contact-info {
        width: 100%;
        max-width: 100%;
        gap: 1.5rem;
    }
    
    .contact-item {
        width: 100%;
        max-width: 100%;
        padding: 1rem;
        gap: 1rem;
        box-sizing: border-box;
    }
    
    .contact-item:hover {
        transform: translateX(0); /* Disable horizontal transform on mobile */
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 1.5rem;
    }
    
    .contact-details {
        width: 100%;
        overflow-wrap: break-word;
    }
    
    .contact-details h4 {
        font-size: 1rem;
    }
    
    .contact-details p,
    .contact-details a {
        font-size: 0.9rem;
    }
    
    .contact-form {
        padding: 1.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .form-group {
        width: 100%;
        max-width: 100%;
        margin-bottom: 1.25rem;
    }
    
    .form-group label {
        font-size: 0.95rem;
    }
    
    .form-group input,
    .form-group textarea {
        width: 100%;
        max-width: 100%;
        padding: 0.8rem;
        font-size: 16px; /* Prevents zoom on iOS */
        box-sizing: border-box;
    }
    
    .form-group textarea {
        min-height: 100px;
    }
    
    .form-submit {
        width: 100%;
        max-width: 100%;
        padding: 1rem;
        font-size: 16px;
        touch-action: manipulation; /* Better touch response */
    }
    
    .form-message {
        width: 100%;
        max-width: 100%;
        padding: 0.85rem;
        box-sizing: border-box;
        font-size: 14px;
    }
}

/* Ultra-small devices */
@media (max-width: 480px) {

    .hero h1 {
        font-family: 'Orbitron', 'Work Sans', 'Montserrat', sans-serif;
        font-size: 1.75rem;
    }

    .section-header h2 {
        font-family: 'Orbitron', 'Work Sans', 'Montserrat', sans-serif;
        font-size: 1.75rem;
    }

    html, body {
        width: 100%;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
    }
    
    .nav-container {
        padding: 0.8rem;
    }
    
    .logo-img {
        height: 35px;
    }
    
    section {
        padding: 2rem 0.8rem;
        width: 100%;
    }
    
    .hero {
        padding: 2.5rem 0.8rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .service-card,
    .team-card,
    .stat-card {
        width: 100%;
    }
    
    .about-image img {
        height: 250px;
    }
    
    .team-image {
        height: 250px;
    }
    
    /* Contact section ultra-small optimizations - CRITICAL */
    .contact-wrapper {
        gap: 1.5rem;
        width: 100%;
        max-width: 100%;
    }
    
    .contact-info {
        gap: 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    .contact-item {
        padding: 0.85rem;
        gap: 0.85rem;
        width: 100%;
        max-width: 100%;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        min-width: 45px;
        font-size: 1.3rem;
    }
    
    .contact-details h4 {
        font-size: 0.95rem;
    }
    
    .contact-details p,
    .contact-details a {
        font-size: 0.85rem;
    }
    
    .contact-form {
        padding: 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    .form-group {
        margin-bottom: 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 16px;
        width: 100%;
        max-width: 100%;
    }
    
    .form-group textarea {
        min-height: 90px;
    }
    
    .form-submit {
        padding: 0.85rem;
        font-size: 16px;
        width: 100%;
        max-width: 100%;
    }
    
    .form-message {
        padding: 0.75rem;
        font-size: 13px;
        width: 100%;
        max-width: 100%;
    }
}

/* Specific breakpoints requested */
@media (max-width: 412px) {
    html, body {
        width: 100%;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
    }
    
    section {
        padding: 2rem 0.75rem;
        width: 100%;
    }
    
    .container {
        padding: 0;
        width: 100%;
    }
    
    /* Contact section for Pixel devices */
    .contact-wrapper {
        gap: 1.25rem;
    }
    
    .contact-item {
        padding: 0.8rem;
        gap: 0.8rem;
    }
    
    .contact-form {
        padding: 0.9rem;
    }
    
    .form-group {
        margin-bottom: 0.9rem;
    }
}

@media (max-width: 390px) {
    html, body {
        width: 100%;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
    }
    
    section {
        padding: 2rem 0.7rem;
    }
    
    /* Contact section for iPhone 12/13 Pro */
    .contact-wrapper {
        gap: 1.2rem;
    }
    
    .contact-info {
        gap: 0.9rem;
    }
    
    .contact-item {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .contact-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 1.2rem;
    }
    
    .contact-details h4 {
        font-size: 0.9rem;
    }
    
    .contact-details p,
    .contact-details a {
        font-size: 0.8rem;
    }
    
    .contact-form {
        padding: 0.85rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.65rem;
    }
    
    .form-submit {
        padding: 0.8rem;
    }
}

@media (max-width: 375px) {

    .hero h1 {
        font-family: 'Orbitron', 'Work Sans', 'Montserrat', sans-serif;
        font-size: 1.6rem;
    }

    html, body {
        width: 100%;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
    }
    
    .hero h1 {
        font-size: 1.6rem;
    }
    
    section {
        padding: 2rem 0.65rem;
    }
    
    /* Contact section for iPhone 8/SE 2nd gen */
    .contact-wrapper {
        gap: 1rem;
    }
    
    .contact-info {
        gap: 0.85rem;
    }
    
    .contact-item {
        padding: 0.7rem;
        gap: 0.7rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1.1rem;
    }
    
    .contact-details h4 {
        font-size: 0.88rem;
    }
    
    .contact-details p,
    .contact-details a {
        font-size: 0.78rem;
    }
    
    .contact-form {
        padding: 0.8rem;
    }
    
    .form-group {
        margin-bottom: 0.85rem;
    }
    
    .form-group label {
        font-size: 0.88rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.6rem;
    }
    
    .form-group textarea {
        min-height: 80px;
    }
    
    .form-submit {
        padding: 0.75rem;
    }
    
    .form-message {
        padding: 0.7rem;
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    html, body {
        width: 100%;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
    }
    
    section {
        padding: 1.8rem 0.6rem;
    }
    
    /* Contact section for smaller Android devices */
    .contact-item {
        padding: 0.65rem;
        gap: 0.65rem;
    }
    
    .contact-form {
        padding: 0.75rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.55rem;
    }
}

@media (max-width: 320px) {

    .section-header h2 {
        font-family: 'Orbitron', 'Work Sans', 'Montserrat', sans-serif;
        font-size: 1.5rem;
    }
    html, body {
        width: 100%;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 1.5rem 0.5rem;
    }
    
    /* Contact section for iPhone SE 1st gen */
    .contact-wrapper {
        gap: 0.85rem;
    }
    
    .contact-info {
        gap: 0.75rem;
    }
    
    .contact-item {
        padding: 0.6rem;
        gap: 0.6rem;
    }
    
    .contact-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 1rem;
    }
    
    .contact-details h4 {
        font-size: 0.85rem;
    }
    
    .contact-details p,
    .contact-details a {
        font-size: 0.75rem;
    }
    
    .contact-form {
        padding: 0.7rem;
    }
    
    .form-group {
        margin-bottom: 0.8rem;
    }
    
    .form-group label {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.55rem;
        font-size: 16px;
    }
    
    .form-group textarea {
        min-height: 75px;
    }
    
    .form-submit {
        padding: 0.7rem;
        font-size: 15px;
    }
    
    .form-message {
        padding: 0.65rem;
        font-size: 11px;
    }
}


/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

/* Mobile spacing adjustment */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 52px;
        height: 52px;
        font-size: 26px;
    }
}
