@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Yellow, Black, White Color Palette */
    --primary-yellow: #FFD700;
    --dark-yellow: #F4C430;
    --light-yellow: #FFF8DC;
    --black: #1a1a1a;
    --dark-gray: #2a2a2a;
    --medium-gray: #3a3a3a;
    --light-gray: #666;
    --white: #ffffff;
    --off-white: #f9f9f9;

    /* Spacing */
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;

    /* Typography */
    --font-main: 'Poppins', sans-serif;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.2);

    /* Status Colors */
    --success: #4CAF50;
    --error: #f44336;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--black);
    line-height: 1.7;
    background-color: var(--white);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--black);
}

h1 {
    font-size: 2.75rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.35rem;
}

h5 {
    font-size: 1.15rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

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

/* Header and Navigation */
.header {
    background: var(--black);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

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

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

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

.logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-yellow);
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

.nav-menu a {
    color: var(--white);
    font-weight: 600;
    padding: 1rem 1.5rem;
    text-transform: lowercase;
    position: relative;
    transition: all 0.3s;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-yellow);
    transition: width 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-yellow);
    background: rgba(255, 215, 0, 0.1);
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--primary-yellow);
    margin: 6px 0;
    transition: all 0.3s;
    border-radius: 2px;
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-md);
}

.section {
    padding: var(--spacing-lg) var(--spacing-md);
}

.section-alt {
    background: var(--off-white);
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

/* Page Title */
.page-title {
    background: var(--white);
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
    position: relative;
    border-bottom: 3px solid var(--primary-yellow);
}

.page-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 215, 0, 0.05), transparent);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-title h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    z-index: 1;
}

.page-title p {
    font-size: 1.3rem;
    color: var(--light-gray);
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Content Sections */
.content-section {
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-md);
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    border-top: 3px solid var(--primary-yellow);
}

.content-section:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.content-section h2 {
    margin-bottom: var(--spacing-md);
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--primary-yellow);
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.content-section h3,
.content-section h4 {
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    color: var(--dark-gray);
}

.content-section ul {
    margin-left: 2rem;
    margin-bottom: var(--spacing-sm);
}

.content-section li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 0.5rem;
}

.content-section li::marker {
    color: var(--primary-yellow);
}

/* Service Items */
.service-item {
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    background: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary-yellow);
    transition: width 0.3s;
}

.service-item:hover {
    border-color: var(--primary-yellow);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px) scale(1.01);
}

.service-item:hover::before {
    width: 100%;
    opacity: 0.1;
}

.service-item h3 {
    color: var(--black);
    margin-bottom: var(--spacing-sm);
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
}

.service-item p {
    position: relative;
    z-index: 1;
    color: var(--light-gray);
}

/* Contact Page */
.contact-section {
    padding: var(--spacing-lg) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.contact-box {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.contact-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-yellow), var(--dark-yellow));
    border-radius: 8px 8px 0 0;
}

.contact-box:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.contact-box h2 {
    margin-bottom: var(--spacing-md);
    font-size: 1.85rem;
    color: var(--black);
    text-transform: uppercase;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--primary-yellow);
}

.contact-info-item {
    margin-bottom: var(--spacing-md);
}

.contact-info-item h3 {
    color: var(--black);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.contact-info-item p {
    color: var(--light-gray);
    margin: 0.25rem 0;
    font-size: 1.05rem;
}

.contact-info-item a {
    color: var(--black);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--primary-yellow);
    text-decoration-thickness: 2px;
}

.contact-info-item a:hover {
    color: var(--primary-yellow);
}

/* Contact Form */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--black);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--black);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s;
    border-radius: 4px;
    background: var(--white);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-error {
    color: #d32f2f;
    font-size: 0.9rem;
    margin-top: 0.25rem;
    display: none;
    font-weight: 600;
}

.form-error.show {
    display: block;
}

.btn {
    padding: 1.2rem 2.5rem;
    border: none;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-yellow);
    color: var(--black);
    border: 3px solid var(--black);
    box-shadow: 5px 5px 0 var(--black);
}

.btn-primary:hover {
    background: var(--dark-yellow);
    transform: translate(2px, 2px);
    box-shadow: 3px 3px 0 var(--black);
}

.btn-primary:active {
    transform: translate(5px, 5px);
    box-shadow: 0 0 0 var(--black);
}

.map-container {
    width: 100%;
    height: 450px;
    margin-top: var(--spacing-md);
    border: 4px solid var(--black);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: var(--spacing-xl) var(--spacing-md);
    margin-top: var(--spacing-xl);
    border-top: 5px solid var(--primary-yellow);
}

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

.footer p {
    margin: 0.5rem 0;
    line-height: 1.8;
}

.footer strong {
    color: var(--primary-yellow);
}

.footer a {
    color: var(--primary-yellow);
    text-decoration: underline;
    font-weight: 600;
}

.footer a:hover {
    color: var(--dark-yellow);
}

/* Loading Spinner */
.spinner {
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top: 3px solid var(--primary-yellow);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Split Hero Section */
.split-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 400px;
}

.split-hero-content {
    padding: 4rem 3rem;
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--black);
    line-height: 1.2;
}

.split-hero-content p {
    font-size: 1.1rem;
    color: var(--light-gray);
    line-height: 1.8;
}

.split-hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

/* Split Section */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.split-section-image {
    overflow: hidden;
}

.split-section-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-section-content {
    padding: 4rem 3rem;
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-section-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--black);
}

.split-section-content p {
    font-size: 1.05rem;
    color: var(--light-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Services Grid */
.services-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.services-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Services Grid Responsive - Stack on mobile */
@media (max-width: 768px) {

    .services-grid-2,
    .services-grid-3 {
        grid-template-columns: 1fr;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.service-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.05);
}

.service-card-content {
    padding: 2rem;
}

.service-card-content h3 {
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 1rem;
}

.service-card-content p {
    font-size: 1rem;
    color: var(--light-gray);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 95px;
        flex-direction: column;
        background: var(--black);
        width: 100%;
        text-align: center;
        transition: left 0.3s;
        padding: 3rem 0;
        /* Increased padding */
        gap: 2rem;
        /* Added gap between items */
        box-shadow: var(--shadow-lg);
        border-top: 3px solid var(--primary-yellow);
        height: 100vh;
        /* Full height */
        overflow-y: auto;
    }

    .nav-menu a {
        font-size: 1.5rem;
        /* Larger text for mobile */
        padding: 1rem;
        /* Larger touch target */
        display: block;
    }

    /* Fix for cut images in services on mobile */
    .service-card-overlay {
        height: 400px;
        /* Default height */
    }

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

    .mobile-toggle {
        display: block;
    }

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

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

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

    /* Responsive for split layouts */
    .split-hero,
    .split-section {
        grid-template-columns: 1fr;
    }

    .split-hero-image {
        min-height: 300px;
    }

    .split-section-image {
        min-height: 300px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .page-title h1 {
        font-size: 2.5rem;
    }

    .logo img {
        height: 80px;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    /* Make about section stack on mobile */
    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

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

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

    .service-card-overlay {
        height: 100px !important;
        /* Extremely short height */
    }

    .service-card-overlay h2 {
        font-size: 0.9rem !important;
        /* Very small title */
        margin-bottom: 0.2rem !important;
        line-height: 1.2 !important;
    }

    /* Reduce padding inside cards on mobile to fit content in shorter height */
    .service-card-overlay>div {
        padding: 0.5rem !important;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1001;
    /* Above footer and other elements */
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: var(--spacing-sm);
}

.mt-2 {
    margin-top: var(--spacing-md);
}

.mt-3 {
    margin-top: var(--spacing-lg);
}

.mb-1 {
    margin-bottom: var(--spacing-sm);
}

.mb-2 {
    margin-bottom: var(--spacing-md);
}

.mb-3 {
    margin-bottom: var(--spacing-lg);
}

.hidden {
    display: none;
}