/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #2C3E50;
    background-color: #FFFFFF;
}

/* CSS Variables for Brand Colors */
:root {
    --primary-blue: #007BFF;
    --accent-red: #FF3C38;
    --accent-green: #00FFB2;
    --white: #FFFFFF;
    --dark-gray: #2C3E50;
    --light-gray: #F8F9FA;
    --text-gray: #6C757D;
    --border-light: #E9ECEF;
    
    /* Spacing */
    --container-padding: 0 20px;
    --section-padding: 80px 0;
    --small-section-padding: 60px 0;
    
    /* Shadows */
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    border: 2px solid transparent;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: var(--hover-shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-self: stretch;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--card-shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo .logo {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Navigation */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark-gray);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%);
    color: var(--white);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1.5" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.08)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid var(--white);
    border-radius: 50%;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: translateX(-50%) rotate(45deg);
}

/* Services Section - Row-Based Layout */
.services {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.service-row {
    margin-bottom: 80px;
    padding: 60px 0;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-row:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.service-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--accent-color, #007BFF) 0%, transparent 70%);
    opacity: 0.05;
    z-index: 1;
}

.service-row[data-color="blue"] {
    --accent-color: #007BFF;
}

.service-row[data-color="green"] {
    --accent-color: #00FFB2;
}

.service-row[data-color="red"] {
    --accent-color: #FF3C38;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 0 40px;
}

.service-row.reverse .service-content {
    grid-template-columns: 1fr 1fr;
}

.service-text {
    padding: 20px 0;
}

.service-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007BFF, rgba(0, 123, 255, 0.7));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.service-row[data-color="green"] .service-icon-large {
    background: linear-gradient(135deg, #00FFB2, rgba(0, 255, 178, 0.7));
}

.service-row[data-color="red"] .service-icon-large {
    background: linear-gradient(135deg, #FF3C38, rgba(255, 60, 56, 0.7));
}

.service-icon-large::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
    100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
}

.service-icon-large i {
    font-size: 36px;
    color: white;
    z-index: 2;
    position: relative;
}

.service-title {
    font-size: 2.2em;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.service-description {
    font-size: 1.1em;
    color: #6C757D;
    line-height: 1.8;
    margin-bottom: 30px;
}

.service-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.service-features li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: #6C757D;
    line-height: 1.6;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 12px;
    width: 20px;
    height: 20px;
    background: #0056b3;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.service-row[data-color="green"] .service-features li::before {
    background: #00B37D;
}

.service-row[data-color="red"] .service-features li::before {
    background: #D62828;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.service-row[data-color="green"] .service-cta {
    background: #00CC8F;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 12px rgba(0, 204, 143, 0.3);
}

.service-row[data-color="green"] .service-cta:hover {
    background: #00B37D;
    box-shadow: 0 6px 18px rgba(0, 179, 125, 0.4);
}

.service-row[data-color="red"] .service-cta {
    background: #E63946;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.service-row[data-color="red"] .service-cta:hover {
    background: #D62828;
    box-shadow: 0 6px 18px rgba(214, 40, 40, 0.4);
}

.service-cta:hover {
    transform: translateY(-2px);
    background: #0056b3;
    box-shadow: 0 6px 18px rgba(0, 86, 179, 0.4);
}

/* Service Visual Elements */
.service-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f7ff;
    border-radius: 15px;
    border: 1px solid #e0e0e0;
}

.service-graphic {
    width: 300px;
    height: 300px;
    position: relative;
    background: linear-gradient(135deg, #007BFF, rgba(0, 123, 255, 0.8));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.4), 
                0 0 0 5px rgba(255, 255, 255, 0.1),
                inset 0 0 0 1px rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.service-row[data-color="green"] .service-graphic {
    background: linear-gradient(135deg, #00FFB2, rgba(0, 255, 178, 0.8));
    box-shadow: 0 20px 40px rgba(0, 255, 178, 0.4), 
                0 0 0 5px rgba(255, 255, 255, 0.1),
                inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.service-row[data-color="red"] .service-graphic {
    background: linear-gradient(135deg, #FF3C38, rgba(255, 60, 56, 0.8));
    box-shadow: 0 20px 40px rgba(255, 60, 56, 0.4), 
                0 0 0 5px rgba(255, 255, 255, 0.1),
}

.service-graphic::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: rotate 6s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.service-graphic-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    font-size: 64px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1); 
        opacity: 0.9;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1); 
        opacity: 1;
    }
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.floating-elements .element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    animation: float 4s ease-in-out infinite;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.floating-elements .element-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.floating-elements .element-2 {
    top: 60%;
    right: 20%;
    animation-delay: 1.5s;
}

.floating-elements .element-3 {
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(5deg); }
    50% { transform: translateY(-20px) rotate(0deg); }
    75% { transform: translateY(-10px) rotate(-5deg); }
}

/* Why Choose DAFEDAN Section */
.why-choose {
    padding: var(--section-padding);
    background: var(--white);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.why-choose-card {
    text-align: center;
    padding: 30px 20px;
}

.why-choose-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-blue), #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    box-shadow: var(--card-shadow);
}

.why-choose-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.why-choose-list {
    list-style: none;
    text-align: left;
}

.why-choose-list li {
    padding: 8px 0;
    color: var(--text-gray);
    position: relative;
    padding-left: 25px;
}

.why-choose-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
}

.stat-number {
    color: var(--primary-blue);
    font-weight: 700;
}

/* Process Section */
.process {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-number {
    width: 80px;
    height: 80px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 25px;
    box-shadow: var(--card-shadow);
    position: relative;
    z-index: 2;
}

.process-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.process-description {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    padding: var(--section-padding);
    background: var(--white);
}

.testimonials-carousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slide {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-text {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--dark-gray);
    margin-bottom: 30px;
    line-height: 1.6;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-blue);
    position: absolute;
    top: -20px;
    left: -20px;
    font-family: serif;
}

.testimonial-author {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.author-position {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-light);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-blue);
}

/* About Section */
.about {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-description {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--text-gray);
    line-height: 1.7;
}

.company-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}

.value-item i {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}

.stat-item .stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-form {
    display: grid;
    gap: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 123, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007BFF, #00FFB2, #FF3C38);
    border-radius: 20px 20px 0 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #2C3E50;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label::before {
    content: '';
    width: 4px;
    height: 4px;
    background: #007BFF;
    border-radius: 50%;
    display: inline-block;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 16px 20px;
    border: 2px solid #E9ECEF;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007BFF;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1), 0 4px 12px rgba(0, 123, 255, 0.15);
    transform: translateY(-2px);
}

.form-group input:focus + label,
.form-group select:focus + label,
.form-group textarea:focus + label {
    color: #007BFF;
}

/* Enhanced Input Icons */
.form-group.has-icon {
    position: relative;
}

.form-group.has-icon input,
.form-group.has-icon select,
.form-group.has-icon textarea {
    padding-left: 50px;
}

.form-group.has-icon::after {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-size: contain;
    opacity: 0.5;
    z-index: 2;
}

/* Textarea Enhancement */
.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

/* Select Enhancement */
.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 50px;
}

/* Enhanced Submit Button */
.contact-form .btn-primary {
    padding: 18px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%);
    border: none;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.contact-form .btn-primary:hover::before {
    left: 100%;
}

.contact-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 123, 255, 0.4);
    background: linear-gradient(135deg, #0056b3 0%, #004494 100%);
}

.contact-form .btn-primary:active {
    transform: translateY(-1px);
}

/* Form Validation Styling */
.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #FF3C38;
    box-shadow: 0 0 0 4px rgba(255, 60, 56, 0.1);
}

.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
    border-color: #00FFB2;
    box-shadow: 0 0 0 4px rgba(0, 255, 178, 0.1);
}

/* Form Message Enhancement */
.form-message {
    padding: 16px 20px;
    border-radius: 12px;
    margin-top: 20px;
    display: none;
    font-weight: 600;
    position: relative;
    animation: slideDown 0.3s ease-out;
}

.form-message.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 2px solid #00FFB2;
}

.form-message.error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 2px solid #FF3C38;
}

.form-message::before {
    content: '✓';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    font-size: 1.2rem;
}

.form-message.error::before {
    content: '⚠';
}

/* Loading State */
.contact-form.loading .btn-primary {
    pointer-events: none;
    opacity: 0.7;
}

.contact-form.loading .btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsive Form */
@media (max-width: 768px) {
    .contact-form {
        padding: 30px 20px;
        gap: 25px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 16px;
    }
    
    .contact-form .btn-primary {
        padding: 16px 24px;
        font-size: 1rem;
    }
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo .logo {
    height: 40px;
    width: auto;
}

.footer-tagline {
    color: #BDC3C7;
    line-height: 1.6;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #BDC3C7;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-blue);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #BDC3C7;
    font-size: 0.9rem;
}

/* Animations */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--card-shadow);
        padding: 20px 0;
        gap: 20px;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Hero */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 250px;
    }

    /* Sections */
    .section-title {
        font-size: 2rem;
    }

    .service-row {
        margin-bottom: 60px;
        padding: 40px 0;
    }

    .service-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
        text-align: center;
    }
    
    .service-row.reverse .service-content {
        grid-template-columns: 1fr;
    }
    
    .service-visual {
        height: 300px;
        order: -1;
    }
    
    .service-graphic {
        width: 250px;
        height: 250px;
    }
    
    .service-title {
        font-size: 1.8em;
    }
    
    .service-icon-large {
        width: 60px;
        height: 60px;
        margin: 0 auto 20px auto;
    }
    
    .service-icon-large i {
        font-size: 24px;
    }
    
    .floating-elements .element {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }

    .company-values {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .stat-item .stat-number {
        font-size: 2.5rem;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(5deg); }
    50% { transform: translateY(-20px) rotate(0deg); }
    75% { transform: translateY(-10px) rotate(-5deg); }
}

/* Simple Service Visual Fallback */
.service-visual-simple {
    position: relative;
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(0, 86, 179, 0.4);
    animation: gentle-pulse 3s ease-in-out infinite;
}

.service-row[data-color="green"] .service-visual-simple {
    background: linear-gradient(135deg, #00B37D 0%, #008F61 100%);
    box-shadow: 0 15px 35px rgba(0, 179, 125, 0.4);
}

.service-row[data-color="red"] .service-visual-simple {
    background: linear-gradient(135deg, #D62828 0%, #B91C1C 100%);
    box-shadow: 0 15px 35px rgba(214, 40, 40, 0.4);
}

.visual-icon {
    font-size: 72px;
    color: white;
    z-index: 3;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.visual-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.decoration-circle {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: float-decoration 4s ease-in-out infinite;
}

.circle-1 {
    width: 40px;
    height: 40px;
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.circle-2 {
    width: 30px;
    height: 30px;
    top: 65%;
    right: 20%;
    animation-delay: 1.5s;
}

.circle-3 {
    width: 35px;
    height: 35px;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 3s;
}

@keyframes gentle-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes float-decoration {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.6; }
    25% { transform: translateY(-8px) rotate(90deg); opacity: 0.8; }
    50% { transform: translateY(-15px) rotate(180deg); opacity: 1; }
    75% { transform: translateY(-8px) rotate(270deg); opacity: 0.8; }
} 