/*
=================================================================
  Sanron Marketing - Main Stylesheet
  Version: 3.0
  Author: AI Assistant
=================================================================

TABLE OF CONTENTS
-----------------
1.  GLOBAL RESET & ROOT VARIABLES
2.  TYPOGRAPHY & GENERAL STYLING
3.  UTILITY CLASSES
4.  KEYFRAME ANIMATIONS
5.  PRELOADER & CUSTOM CURSOR
6.  HEADER & NAVIGATION
7.  HERO SECTION
8.  GENERAL SECTION STYLING
9.  COMPONENT STYLES (Buttons, Cards, Forms)
10. SPECIFIC SECTION STYLING
    - Services Section
    - About Section
    - Process Section
    - Testimonials Section
11. FOOTER
12. CONTACT PAGE STYLES
13. LEGAL PAGES (Disclaimer, Terms, Privacy)
14. RESPONSIVE DESIGN

=================================================================
*/

/* 1. GLOBAL RESET & ROOT VARIABLES */
/* =================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-bg: #1A1A1A;
    /* Dark Charcoal */
    --secondary-bg: #2C2C2C;
    /* Lighter Charcoal */
    --accent-primary: #AEFF34;
    /* Vibrant Lime Green */
    --accent-secondary: #FFFFFF;
    /* White */
    --text-primary: #F5F5F5;
    --text-secondary: #AAAAAA;
    --text-dark: #1A1A1A;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(174, 255, 52, 0.2);
    --header-height: 90px;
    --font-main: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 2. TYPOGRAPHY & GENERAL STYLING */
/* =================================== */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none;
    /* Hide default cursor */
}

a {
    text-decoration: none;
    color: var(--accent-primary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-secondary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

img,
svg {
    max-width: 100%;
    height: auto;
}

ul li {
    list-style: none;
}

/* 3. UTILITY CLASSES */
/* =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--accent-primary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.highlight-text {
    color: var(--accent-primary);
}

/* Reveal on scroll animation */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 4. KEYFRAME ANIMATIONS */
/* =================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 var(--shadow-color);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 15px 25px rgba(174, 255, 52, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(174, 255, 52, 0);
    }
}

@keyframes gradient-bg {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes scroll-wheel {
    0% {
        top: 8px;
        opacity: 1;
    }

    100% {
        top: 20px;
        opacity: 0;
    }
}

/* 5. PRELOADER & CUSTOM CURSOR */
/* =================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-icon {
    width: 60px;
    height: 60px;
    border: 4px solid var(--border-color);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.2s ease-out;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-primary);
    border-radius: 50%;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    transform: translate(-16px, -16px);
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

body.link-hover .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(174, 255, 52, 0.2);
    border-color: var(--accent-primary);
    transform: translate(-26px, -26px);
}

body.link-hover .cursor-dot {
    opacity: 0;
}

/* 6. HEADER & NAVIGATION */
/* =================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background-color: transparent;
    transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.site-header.scrolled {
    background-color: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: block;
}

.logo img {
    height: 60px;
    width: auto;
    transition: height 0.4s ease;
}

.site-header.scrolled .logo img {
    height: 55px;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 35px;
}

.main-navigation a {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
    letter-spacing: 0.5px;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-primary);
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.main-navigation a:hover::after,
.main-navigation li.active a::after {
    width: 100%;
}

.main-navigation a:hover,
.main-navigation li.active a {
    color: var(--text-primary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* 7. HERO SECTION */
/* =================================== */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--header-height);
    background-color: var(--primary-bg);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(26, 26, 26, 0.95), rgba(26, 26, 26, 0.95)),
        url('https://www.transparenttextures.com/patterns/carbon-fibre-v2.png');
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    text-align: center;
    margin: 0 auto;
    animation: fadeIn 1.5s ease-out;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    animation: slideInUp 1s ease-out 0.3s backwards;
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: var(--text-secondary);
    animation: slideInUp 1s ease-out 0.5s backwards;
}

.hero-cta {
    animation: slideInUp 1s ease-out 0.7s backwards;
}

.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-down-indicator .mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 20px;
    position: relative;
}

.scroll-down-indicator .mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

/* 8. GENERAL SECTION STYLING */
/* =================================== */
section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

section:nth-of-type(even) {
    background-color: var(--secondary-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* 9. COMPONENT STYLES */
/* =================================== */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 1rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: var(--text-dark);
    box-shadow: 0 10px 25px var(--shadow-color);
}

.btn-primary:hover {
    color: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px var(--shadow-color);
    filter: brightness(1.1);
}

.card {
    background-color: var(--secondary-bg);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 20px;
}

.input-field,
.textarea-field {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-field:focus,
.textarea-field:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 10px var(--shadow-color);
}

.textarea-field {
    height: 150px;
    resize: vertical;
}

/* 10. SPECIFIC SECTION STYLING */
/* =================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    text-align: center;
}

.service-card .card-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--accent-primary);
    transition: transform 0.4s ease;
}

.service-card:hover .card-icon {
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 15px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
    animation: float 5s ease-in-out infinite;
}

.about-image img {
    border-radius: 15px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.feature-list .feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-list .feature-item:last-child {
    margin-bottom: 0;
}

.feature-list .feature-icon {
    font-size: 2rem;
    color: var(--accent-primary);
    margin-top: 5px;
}

.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.process-timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--accent-primary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -12.5px;
    background-color: var(--secondary-bg);
    border: 4px solid var(--accent-primary);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.timeline-item:nth-child(even)::after {
    left: -12.5px;
}

.timeline-item:hover::after {
    transform: scale(1.2);
    background-color: var(--accent-primary);
}

.timeline-content {
    padding: 20px 30px;
    background-color: var(--primary-bg);
    border: 1px solid var(--border-color);
    position: relative;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

.timeline-item:hover .timeline-content {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.timeline-step {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 10px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.testimonial-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
    padding-left: 40px;
}

.testimonial-text::before {
    content: '“';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 4rem;
    font-family: serif;
    color: var(--accent-primary);
    opacity: 0.5;
}

.testimonial-author {
    margin-top: auto;
    padding-top: 20px;
}

.author-info {
    position: relative;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.author-info span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* 11. FOOTER */
/* =================================== */
.site-footer {
    background-color: var(--secondary-bg);
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-widget h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-primary);
}

.footer-about .logo {
    margin-bottom: 20px;
}

.footer-about .logo img {
    height: 70px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--text-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* 12. CONTACT PAGE STYLES */
/* =================================== */
.page-header {
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 0.8)), url('https://i.imgur.com/G5g3f6w.jpg') center/cover no-repeat;
}

.page-header h1 {
    font-size: 3.5rem;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 1rem auto 0;
}

.contact-page-section .contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    background: var(--secondary-bg);
    padding: 60px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info-icon {
    font-size: 2rem;
    color: var(--accent-primary);
}

.contact-info-item h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

/* 13. LEGAL PAGES */
/* =================================== */
.legal-page-section {
    padding: 120px 0;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--secondary-bg);
    padding: 50px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-primary);
    padding-bottom: 5px;
    border-bottom: 1px solid var(--border-color);
}

.legal-content p,
.legal-content li {
    color: var(--text-secondary);
    line-height: 1.8;
}

.legal-content ul,
.legal-content ol {
    margin-left: 20px;
    margin-bottom: 1rem;
}

.legal-content .last-updated {
    text-align: center;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 2rem;
    display: block;
}

/* 14. RESPONSIVE DESIGN */
/* =================================== */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 30px;
    }

    .footer-about {
        grid-column: 1 / -1;
    }

    h1 {
        font-size: 3rem;
    }

    .hero-content h1 {
        font-size: 4rem;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }

    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .hero-content h1 {
        font-size: 3.2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--secondary-bg);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    }

    .main-navigation.active {
        right: 0;
    }

    .main-navigation ul {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .main-navigation a {
        font-size: 1.5rem;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
        margin-bottom: 40px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-page-section .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-about {
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }

    .custom-cursor {
        display: none;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-section {
        height: auto;
        padding: 150px 0 100px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline::after {
        left: 12px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 10px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item::after {
        left: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 2.2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }

    .main-navigation {
        width: 90%;
    }

    .legal-content {
        padding: 30px;
    }
}