﻿/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #f7d492;
    --color-secondary: #d6cbc5;
    --color-tertiary: #d2a494;
    --color-dark: #3a3a3a;
    --color-light: #f9f9f9;
    --color-white: #ffffff;
    --color-accent: #c89b7b;
    --font-primary: 'Quicksand', sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-light);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 50px;
    height: 50px;
}

.site-name {
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 700;
    color: var(--color-dark);
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: var(--color-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    transition: color 0.3s;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-tertiary);
    transition: width 0.3s;
}

.main-nav a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--color-dark);
    transition: 0.3s;
}

/* Hero Banner */
.hero-banner {
    position: relative;
    height: 90vh;
    min-height: 600px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-tertiary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.1);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    margin-bottom: 2rem;
    font-weight: 300;
}

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

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    transition: all 0.3s;
    border: 2px solid transparent;
    display: inline-block;
}

.btn-primary {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--color-dark);
    color: var(--color-dark);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--color-white);
    color: var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-dark);
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background-color: var(--color-secondary);
    top: 10%;
    left: -100px;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background-color: var(--color-white);
    bottom: 10%;
    right: -50px;
    animation: float 8s ease-in-out infinite reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background-color: var(--color-accent);
    top: 50%;
    right: 10%;
    animation: float 7s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

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

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--color-accent);
    font-weight: 400;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background-color: var(--color-white);
}

.about-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    background-color: #ccc;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1.5rem;
    color: var(--color-dark);
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.8;
}

.about-features {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.feature-icon {
    width: 30px;
    height: 30px;
    color: var(--color-tertiary);
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, var(--color-light), var(--color-secondary));
}

.services-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.service-card {
    flex: 1;
    min-width: 250px;
    background-color: var(--color-white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    color: var(--color-tertiary);
}

.service-card h3 {
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.service-card p {
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    line-height: 1.7;
}

/* Techniques Section */
.techniques-section {
    padding: 5rem 0;
    background-color: var(--color-white);
}

.techniques-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.technique-block {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.technique-block.reverse {
    flex-direction: row-reverse;
}

.technique-image {
    flex: 1;
}

.technique-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    background-color: #ccc;
}

.technique-content {
    flex: 1;
}

.technique-content h3 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 1.5rem;
    color: var(--color-dark);
}

.technique-content p {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.technique-list {
    list-style: none;
    margin-top: 1.5rem;
}

.technique-list li {
    padding: 0.7rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
}

.technique-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-tertiary);
    font-weight: 700;
}

.external-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--color-tertiary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.external-link:hover {
    color: var(--color-accent);
}

/* Fundamentals Section */
.fundamentals-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.fundamentals-grid {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.fundamental-card {
    flex: 1;
    min-width: 300px;
    background-color: var(--color-white);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.fundamental-number {
    font-size: 5rem;
    font-weight: 700;
    color: var(--color-primary);
    opacity: 0.3;
    position: absolute;
    top: -20px;
    right: 20px;
}

.fundamental-card h3 {
    font-size: clamp(1.5rem, 2.5vw, 1.8rem);
    margin-bottom: 1.5rem;
    color: var(--color-dark);
    position: relative;
    z-index: 1;
}

.fundamental-image {
    margin: 1.5rem 0;
}

.fundamental-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    background-color: #ccc;
}

.fundamental-card p {
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.fundamental-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.fundamental-topics span {
    background-color: var(--color-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: clamp(0.85rem, 1.2vw, 0.95rem);
    color: var(--color-dark);
}

/* Counters Section */
.counters-section {
    padding: 4rem 0;
    background-color: var(--color-dark);
    color: var(--color-white);
}

.counters-grid {
    display: flex;
    gap: 3rem;
    justify-content: space-around;
    flex-wrap: wrap;
}

.counter-item {
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.counter-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    color: var(--color-primary);
}

.counter-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.counter-label {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 300;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--color-tertiary) 0%, var(--color-primary) 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--color-white);
    margin-bottom: 2rem;
}

.btn-cta {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    display: inline-block;
    transition: all 0.3s;
}

.btn-cta:hover {
    background-color: var(--color-white);
    color: var(--color-dark);
}

/* Contact Form Section */
.contact-form-section {
    padding: 5rem 0;
    background-color: var(--color-light);
}

.contact-wrapper {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.contact-form {
    flex: 1;
    background-color: var(--color-white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-dark);
    font-size: clamp(0.95rem, 1.3vw, 1.05rem);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--color-secondary);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: clamp(0.95rem, 1.3vw, 1rem);
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-tertiary);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background-color: var(--color-tertiary);
    color: var(--color-white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: clamp(1rem, 1.3vw, 1.1rem);
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: var(--color-accent);
}

.contact-image {
    flex: 1;
}

.contact-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
    background-color: #ccc;
}

/* Footer */
.footer {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3,
.footer-column h4 {
    margin-bottom: 1rem;
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
}

.footer-column p {
    font-size: clamp(0.9rem, 1.3vw, 1rem);
    line-height: 1.6;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.7rem;
}

.footer-column ul li a {
    color: var(--color-secondary);
    text-decoration: none;
    font-size: clamp(0.9rem, 1.3vw, 1rem);
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--color-primary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    border-radius: 50%;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: var(--color-tertiary);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    font-family: var(--font-primary);
}

.btn-newsletter {
    padding: 0.8rem 1.5rem;
    background-color: var(--color-tertiary);
    color: var(--color-white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-newsletter:hover {
    background-color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: clamp(0.85rem, 1.2vw, 0.95rem);
}

/* Responsive Design */
@media (max-width: 968px) {
    .main-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 2rem;
        gap: 1rem;
    }

    .main-nav.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .about-content,
    .technique-block,
    .technique-block.reverse,
    .contact-wrapper {
        flex-direction: column;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .services-grid,
    .fundamentals-grid {
        flex-direction: column;
    }

    .counters-grid {
        gap: 2rem;
    }
}

/* Mobile styles for 320px and up */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-banner {
        min-height: 500px;
        height: 70vh;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        gap: 1rem;
    }

    .btn {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }

    .about-section,
    .services-section,
    .techniques-section,
    .fundamentals-section {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .about-features {
        flex-direction: column;
        gap: 1rem;
    }

    .service-card,
    .fundamental-card {
        padding: 1.5rem;
    }

    .fundamental-number {
        font-size: 3rem;
        top: -10px;
        right: 15px;
    }

    .counter-number {
        font-size: 2.5rem;
    }

    .counter-label {
        font-size: 0.9rem;
    }

    .counters-grid {
        gap: 1.5rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 1.1rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .contact-image img {
        height: 300px;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .btn-newsletter {
        width: 100%;
    }
}

@media (max-width: 320px) {
    .container {
        padding: 0 10px;
    }

    .logo-container {
        gap: 0.5rem;
    }

    .logo {
        width: 40px;
        height: 40px;
    }

    .site-name {
        font-size: 0.85rem;
    }

    .hero-banner {
        min-height: 400px;
        height: 60vh;
    }

    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
    }

    .hero-buttons {
        gap: 0.8rem;
    }

    .about-section,
    .services-section,
    .techniques-section,
    .fundamentals-section,
    .contact-form-section {
        padding: 2rem 0;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .about-text h3 {
        font-size: 1.2rem;
    }

    .about-text p {
        font-size: 0.9rem;
    }

    .service-icon,
    .feature-icon {
        width: 40px;
        height: 40px;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: 0.85rem;
    }

    .technique-content h3 {
        font-size: 1.2rem;
    }

    .technique-content p {
        font-size: 0.9rem;
    }

    .technique-list li {
        padding: 0.5rem 0;
        padding-left: 1.5rem;
        font-size: 0.85rem;
    }

    .fundamental-card h3 {
        font-size: 1.1rem;
    }

    .fundamental-card p {
        font-size: 0.85rem;
    }

    .fundamental-image img {
        height: 150px;
    }

    .fundamental-topics span {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .counter-number {
        font-size: 2rem;
    }

    .counter-label {
        font-size: 0.85rem;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .btn-cta {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .btn-submit {
        padding: 0.9rem;
        font-size: 0.95rem;
    }

    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-column h3,
    .footer-column h4 {
        font-size: 1rem;
    }

    .footer-column p {
        font-size: 0.85rem;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.8rem;
    }

    .footer-column ul li a {
        font-size: 0.85rem;
    }

    .newsletter-form input {
        padding: 0.7rem;
    }

    .btn-newsletter {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }

    .hero-shapes {
        display: none;
    }

    .shape {
        display: none;
    }
}