/* ==========================================
   RESET & BASE STYLES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-azure: #00B4D8;
    --accent-purple: #7209B7;
    --contrast-yellow: #FEE440;
    --bg-white: #FFFFFF;
    --text-charcoal: #212529;
    --text-gray: #6C757D;
    --shadow-light: rgba(0, 180, 216, 0.1);
    --shadow-medium: rgba(0, 180, 216, 0.2);
    --gradient-primary: linear-gradient(135deg, var(--primary-azure) 0%, var(--accent-purple) 100%);
    --gradient-accent: linear-gradient(45deg, var(--contrast-yellow) 0%, #FFD700 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-charcoal);
    background-color: var(--bg-white);
    padding-top: 5rem;
    overflow-x: hidden;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ==========================================
   HEADER STYLES
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px var(--shadow-light);
    z-index: 1000;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--text-charcoal);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav a:hover {
    color: var(--primary-azure);
}

.nav a:hover::after {
    width: 100%;
}

.cta-button {
    background: var(--gradient-primary);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow-medium);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    background: linear-gradient(135deg, var(--primary-azure) 0%, var(--accent-purple) 100%);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    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"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 50px 50px;
    animation: gradient-shift 20s ease infinite;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-button {
    background: var(--contrast-yellow);
    color: var(--text-charcoal);
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(254, 228, 64, 0.3);
    animation: pulse 2s infinite;
}

/* ==========================================
   SECTION STYLES
   ========================================== */
.section {
    padding: 4rem 0;
}

.section:nth-child(even) {
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-charcoal);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* ==========================================
   GRID LAYOUTS
   ========================================== */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* ==========================================
   CARDS
   ========================================== */
.card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-charcoal);
}

.card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Service Images */
.service-image {
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-image:hover .service-img {
    transform: scale(1.05);
}

/* ==========================================
   FORM STYLES
   ========================================== */
.form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-charcoal);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-azure);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 0.2rem;
}

.form-checkbox label {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.4;
}

.form-button {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.form-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonial {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4rem;
    color: var(--contrast-yellow);
    font-weight: bold;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.testimonial-author-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--contrast-yellow);
    transition: transform 0.3s ease;
}

.testimonial-avatar:hover {
    transform: scale(1.1);
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-charcoal);
    margin-bottom: 0.2rem;
}

.testimonial-position {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--text-charcoal);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--contrast-yellow);
}

.footer-section p,
.footer-section a {
    color: #adb5bd;
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
}

.footer-section a:hover {
    color: var(--primary-azure);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #495057;
    color: #adb5bd;
}

/* ==========================================
   COOKIE POPUP
   ========================================== */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.5s ease;
}

.cookie-popup.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-popup-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-popup-text {
    flex: 1;
    min-width: 200px;
}

.cookie-popup-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-accept {
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-accept:hover {
    transform: translateY(-1px);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 768px) {
    body {
        padding-top: 4rem;
    }
    
    .header {
        padding: 0.3rem 0;
    }
    
    .header-container {
        padding: 0 0.5rem;
        gap: 0.5rem;
    }
    
    .logo {
        height: 32px;
    }
    
    .nav {
        gap: 1rem;
    }
    
    .nav a {
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 4rem 0 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .form {
        padding: 1.5rem;
    }
    
    .cookie-popup {
        bottom: 10px;
        left: 10px;
        right: 10px;
    }
    
    .service-img {
        height: 180px;
    }
    
    .testimonial-avatar {
        width: 55px;
        height: 55px;
    }
    
    .success-checkmark svg {
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 3.5rem;
    }
    
    .header-container {
        padding: 0 0.3rem;
    }
    
    .nav {
        gap: 0.5rem;
    }
    
    .nav a {
        font-size: 0.8rem;
    }
    
    .cta-button {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .hero {
        padding: 3rem 0 1.5rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .grid {
        gap: 1rem;
    }
    
    .card {
        padding: 1rem;
    }
    
    .form {
        padding: 1rem;
    }
    
    .cookie-popup-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-popup-buttons {
        justify-content: center;
    }
    
    .service-img {
        height: 150px;
    }
    
    .testimonial-avatar {
        width: 50px;
        height: 50px;
    }
    
    .testimonial-author-section {
        gap: 0.8rem;
    }
    
    .success-checkmark svg {
        width: 80px;
        height: 80px;
    }
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.hidden { display: none; }
.visible { display: block; }

.fade-in {
    animation: fadeInUp 1s ease;
}

.slide-in {
    animation: slideInLeft 1s ease;
}

/* ==========================================
   SUCCESS CHECKMARK
   ========================================== */
.success-checkmark {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.checkmark-svg {
    animation: checkmarkScale 0.8s ease-in-out;
}

.checkmark-circle {
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    animation: checkmarkCircle 1s ease-in-out 0.2s forwards;
}

.checkmark-path {
    stroke-dasharray: 58;
    stroke-dashoffset: 58;
    animation: checkmarkPath 0.6s ease-in-out 1s forwards;
}

@keyframes checkmarkScale {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes checkmarkCircle {
    0% {
        stroke-dashoffset: 283;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes checkmarkPath {
    0% {
        stroke-dashoffset: 58;
    }
    100% {
        stroke-dashoffset: 0;
    }
} 