/* 
* SYNAPSE3 - Main Stylesheet
* Author: SYNAPSE3 Team
* Version: 1.0
*/

/* ===== GENERAL STYLES ===== */
:root {
    --primary-color: #FF6B00;
    --secondary-color: #121212;
    --accent-color: #333333;
    --light-color: #FFFFFF;
    --gray-color: #F5F5F5;
    --text-color: #333333;
    --text-light: #777777;
    --border-radius: 4px;
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    text-align: center;
}

h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 20px auto 0;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

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

section {
    padding: 80px 0;
}

.section-description {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
}

.highlight {
    color: var(--primary-color);
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
    border: 2px solid var(--primary-color);
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 2px solid var(--text-color);
}

.btn-secondary:hover {
    background-color: var(--text-color);
    color: var(--light-color);
}

.btn-text {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.btn-text:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.btn-text:hover:after {
    width: 100%;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    transition: var(--transition);
}

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

.logo a {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary-color);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

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

.logo span {
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav ul {
    display: flex;
    align-items: center;
}

.nav li {
    margin-left: 30px;
}

.nav a {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    position: relative;
}

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

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

.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--gray-color);
    text-align: center;
    padding-top: 80px;
}

.hero h1 {
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: var(--text-light);
}

.geometric-icons {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.geometric-icons .icon {
    margin: 0 15px;
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.8;
    transform: rotate(45deg);
    transition: var(--transition);
}

.geometric-icons .icon:hover {
    transform: rotate(0deg);
    opacity: 1;
}

/* ===== SERVICES SECTION ===== */
.services {
    background-color: var(--light-color);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--gray-color);
    border-radius: 10px;
    padding: 30px;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    height: 100%;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 107, 0, 0.1);
    border-radius: 50%;
}

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

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-align: center;
}

.service-card p {
    color: var(--text-light);
    text-align: center;
    margin-bottom: 0;
}

/* ===== JOURNEY SECTION ===== */
.journey {
    background-color: var(--gray-color);
}

.journey-timeline {
    margin-top: 60px;
    position: relative;
}

.journey-timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
}

.journey-phase {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.journey-phase:last-child {
    margin-bottom: 0;
}

.journey-phase:nth-child(odd) {
    flex-direction: row-reverse;
}

.phase-image {
    width: 40%;
    padding: 0 40px;
    text-align: center;
}

.phase-image img {
    max-width: 200px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.phase-content {
    width: 60%;
    padding: 30px;
    background-color: var(--light-color);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.phase-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* ===== APPROACH SECTION ===== */
.approach {
    background-color: var(--light-color);
}

.approach-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

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

/* ===== CTA SECTION ===== */
.cta {
    background-color: var(--secondary-color);
    color: var(--light-color);
    text-align: center;
}

.cta h2 {
    color: var(--light-color);
}

.cta p {
    color: var(--light-color);
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto 30px;
}

.cta h2:after {
    background-color: var(--light-color);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta .btn-secondary {
    border-color: var(--light-color);
    color: var(--light-color);
}

.cta .btn-secondary:hover {
    background-color: var(--light-color);
    color: var(--secondary-color);
}

/* ===== FOOTER SECTION ===== */
.footer {
    background-color: var(--accent-color);
    color: var(--light-color);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--light-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-col p, .footer-col a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--light-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.social-icon i {
    color: var(--light-color);
    font-size: 1.2rem;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .journey-timeline:before {
        left: 40px;
    }
    
    .journey-phase, .journey-phase:nth-child(odd) {
        flex-direction: column;
        text-align: left;
    }
    
    .phase-image, .phase-content {
        width: 100%;
        padding: 0;
    }
    
    .phase-content {
        padding: 25px 25px;
    }
    
    .phase-image {
        margin-bottom: 20px;
        text-align: left;
        padding-left: 80px;
    }
    
    .phase-image img {
        max-width: 150px;
    }
}

@media screen and (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--light-color);
        padding: 80px 40px;
        transition: var(--transition);
        z-index: 999;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav ul {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav li {
        margin: 15px 0;
    }
    
    .hero {
        height: auto;
        padding: 150px 0 80px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons a {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
    /* Ensure phase content has proper padding on mobile */
    .phase-content {
        padding: 25px 25px;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    /* Ensure all sections have proper padding on small screens */
    section {
        padding: 50px 15px;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 20px;
    }
    
    /* Increase padding for very small screens */
    .phase-content {
        padding: 25px 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

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

.hero h1, .hero p, .hero .btn-primary {
    animation: fadeIn 1s ease forwards;
}

.hero p {
    animation-delay: 0.3s;
}

.hero .btn-primary {
    animation-delay: 0.6s;
}

/* JavaScript Controlled Styles */
.nav.active {
    right: 0;
}

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

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

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