/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* Color Variables */
:root {
    --hero-bg: #55A6FF;
    --hero-text: #1e1810;
    --section-bg: #f7f3ed;
    --section-text: #1e1810;
    --contact-bg: #1e1810;
    --contact-text: #ffffff;;
    --service-bg: #eae7e1;
    --service-icon: #1e1810;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.08);
    --shadow-hover: rgba(0, 0, 0, 0.12);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--hero-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo a:hover {
    color: var(--hero-bg);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--hero-text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--hero-bg);
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--hero-text);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--hero-bg);
    padding-top: 80px;
    margin-top: 0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 2rem 200px 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: fadeInLeft 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--hero-text);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--hero-text);
    margin-bottom: 2rem;
    font-weight: 400;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--hero-text);
    color: var(--hero-bg);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow);
}

.cta-button:hover {
    background: var(--white);
    color: var(--hero-text);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-hover);
}

.hero-image {
    animation: fadeInRight 1s ease-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px var(--shadow);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
    margin-top: 40px;
}

.hero-image img:hover {
    transform: scale(1.02);
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--section-bg);
    margin-top: -60px;
    position: relative;
    z-index: 1;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content {
    animation: fadeInUp 1s ease-out;
    text-align: justify;
    hyphens: auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--section-text);
}

.about-text {
    font-size: 1rem;
    color: var(--section-text);
    text-align: justify;
    hyphens: auto;
    line-height: 1.7;
    opacity: 0.9;
}

.about-text {
    margin-bottom: 1.5rem;
}

.about-highlight {
    animation: fadeInUp 1s ease-out 0.3s both;
    background: var(--service-bg);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
    border-left: 4px solid var(--hero-bg);
}

.highlight-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--section-text);
    line-height: 1.4;
    text-align: center;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--section-bg);
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.services-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: start;
}

.services-title {
    text-align: left;
}

.services-highlight {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--section-text);
    margin-top: 1rem;
    line-height: 1.3;
}

.services-description p {
    font-size: 1rem;
    color: var(--section-text);
    text-align: justify;
    hyphens: auto;
    line-height: 1.7;
    opacity: 0.9;
}

.services-container .section-title {
    text-align: left;
    margin-bottom: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--service-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--hero-bg);
    transform: scale(1.1);
}

.service-icon i {
    font-size: 2rem;
    color: var(--service-icon);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--section-text);
}

.service-description {
    color: var(--section-text);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--contact-bg);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-container .section-title {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--contact-text);
}

.contact-content {
    display: flex;
    justify-content: center;
}

.contact-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-text {
    color: var(--contact-text);
    font-weight: 700;
    font-size: 1.5rem;
    margin-right: auto;
}

.contact-icons {
    display: flex;
    gap: 1rem;
}



.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--contact-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.contact-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--contact-text);
}

.contact-details a {
    color: var(--contact-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--white);
}

.contact-icon-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-icon-link:hover {
    transform: scale(1.1);
}

.contact-icon-link:hover .contact-icon {
    background: var(--white);
    transform: scale(1.1);
}

.contact-icon-link:hover .contact-icon i {
    color: var(--contact-bg);
}



/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .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: 0 10px 27px var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

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

    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-header {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .contact-icons {
        justify-content: center;
    }
    

}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .hero-container,
    .about-container,
    .services-container,
    .contact-container {
        padding: 0 1rem;
    }
}
