:root {
    --primary-color: #ff6b6b;
    --primary-hover: #e04343;
    --dark-bg: #202124;
    --light-bg: #f8f9fa;
    --text-main: #3c4043;
    --text-light: #5f6368;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
    --radius: 16px;
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--white);
    color: var(--text-main);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
    margin: 0;
    padding-top: 73px; /* Offset for fixed header */
}

h1, h2, h3, h4 { font-weight: 600; color: var(--dark-bg); margin-bottom: 1rem; }
p { color: var(--text-light); }
a { text-decoration: none !important; }
img { max-width: 100%; height: auto; }

.btn-custom, .view-all, .download-btn, .contact-btn {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 50px;
    border: none;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
}

.btn-custom:hover, .view-all:hover, .download-btn:hover, .contact-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

.header_section {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(32, 33, 36, 0.9);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    transition: background 0.3s, box-shadow 0.3s;
}

.navbar { padding: 1rem 0; }
.navbar-brand img { height: 45px; width: auto; }
.nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    margin: 0 12px;
    position: relative;
    transition: color 0.3s;
}
.nav-link:hover, .nav-link.active { color: var(--primary-color) !important; }

.nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width .3s;
    position: absolute;
    bottom: -5px;
    left: 0;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.hero_section {
    position: relative;
    height: calc(100vh - 73px); /* Adjust for fixed header */
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../images/slider-bg.jpg') no-repeat center center/cover;
    text-align: center;
    overflow: hidden;
}

.hero_section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
}

.hero_text {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    color: var(--white);
}

.hero_text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--white);
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.typewriter-container {
    /* This container will shrink-wrap the h1, establishing a stable width */
    display: inline-block;
}

.hero_text .typewriter-text {
     border-right: .15em solid var(--primary-color);
     animation: typing 3.5s steps(30, end) forwards, blink-caret .75s step-end infinite;
     white-space: nowrap;
     overflow: hidden;
     letter-spacing: .15em;
     width: 0;
}

section { padding: 100px 0; }

.about_section { background-color: var(--light-bg); }
.img-box img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.img-box:hover img { transform: scale(1.03); box-shadow: 0 15px 30px rgba(0,0,0,0.15); }
.detail-box h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }

.gallery-container, .gallery-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}
.gallery-container .img-wrapper, .gallery-grid-container .img-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    height: 280px;
}
.gallery-container .img-wrapper:hover, .gallery-grid-container .img-wrapper:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    z-index: 5;
}
.gallery-container img, .gallery-grid-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.img-wrapper .overlay {
    position: absolute;
    top: 0; left:0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.img-wrapper:hover .overlay { opacity: 1; }

.service-card {
    background: var(--white);
    padding: 40px 25px;
    border-radius: var(--radius);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}
.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-card .service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.testimonials { background: var(--light-bg); }
.testimonial-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}
.testimonial-card {
    background: linear-gradient(145deg, var(--dark-bg), #2f3033);
    color: var(--white);
    padding: 50px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    transition: opacity 0.3s, transform 0.3s;
}
.testimonial-img {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    margin-bottom: 1rem;
    object-fit: cover;
}
.testimonial-text { color: rgba(255,255,255,0.8); font-style: italic; }
.nav-btn {
    background: var(--white);
    border: 1px solid #ddd;
    color: var(--text-main);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: 0.3s;
    box-shadow: var(--shadow-sm);
}
.nav-btn:hover { background: var(--primary-color); color: var(--white); transform: scale(1.1); }
.testimonial-nav { display: flex; justify-content: center; gap: 20px; margin-top: 1.5rem; }

/* --- Contact Page Specific Styles --- */
.contact-wrapper {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.contact_section {
    padding-top: 0;
    padding-bottom: 100px;
    background-color: var(--light-bg);
}

.contact-info-col {
    background: linear-gradient(145deg, var(--dark-bg), #2f3033);
    color: var(--white);
    padding: 60px 40px !important;
}

.contact-info-col h2, .contact-info-col h4 { color: var(--white); }

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.info-item:hover { transform: translateX(10px); }

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.form-group { position: relative; margin-bottom: 25px; }
.form-control {
    border-radius: 12px;
    padding: 15px 15px 15px 45px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}
.form-control:focus { border-color: var(--primary-color); box-shadow: 0 0 0 0.2rem rgba(255, 107, 107, 0.15); }
.form-control-icon { position: absolute; left: 18px; top: 18px; color: var(--text-light); z-index: 5; }
.map-container { border-radius: var(--radius); overflow: hidden; margin-top: 30px; height: 250px; box-shadow: var(--shadow-md); }

/* Modal Customization */
#offerModal .modal-content { box-shadow: var(--shadow-lg); }
#offerModal .close { font-size: 1.5rem; color: var(--dark-bg); opacity: 0.5; transition: opacity 0.3s; }
#offerModal .close:hover { opacity: 1; }
#popup-content-area img { width: 100%; height: auto; display: block; }

.page-title-section {
    background-color: var(--light-bg);
    padding: 80px 0;
    text-align: center;
}
.page-title-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
}
.page-title-section .lead {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.footer_section {
    background: var(--dark-bg);
    color: #a0a0a0;
    padding: 70px 0 20px;
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}
.footer-about, .footer-links, .footer-contact, .footer-social {
    flex: 1;
    min-width: 220px;
}
.footer_section h4 { 
    color: var(--white); 
    margin-bottom: 25px; 
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}
.footer_section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}
.footer_section a, .footer_section p { color: #a0a0a0; transition: color 0.3s; }
.footer_section a:hover { color: var(--primary-color); }
.footer-links ul, .footer-contact ul {
    list-style: none;
    padding: 0;
}
.footer-links li, .footer-contact li { margin-bottom: 12px; }
.footer-contact i {
    margin-right: 10px;
    width: 15px;
    color: var(--primary-color);
}
.social_box a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.08);
    color: var(--white);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}
.social_box a:hover { 
    background: var(--primary-color);
    transform: translateY(-3px);
}
.copyright {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 25px;
    margin-top: 50px;
    font-size: 0.9em;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes typing { from { width: 0; } to { width: 100%; } }
@keyframes blink-caret { from, to { border-color: transparent } 50% { border-color: var(--primary-color); } }

@media (max-width: 991px) {
    body { padding-top: 70px; }
    .navbar { padding: 0.5rem 0; }
    .navbar-brand img { height: 40px; }
}

@media (max-width: 768px) {
    section { padding: 60px 0; }
    .img-box { margin-bottom: 30px; }
    .testimonial-card { padding: 30px 20px; }
    .page-title-section { padding: 60px 0; }
    .page-title-section h1 { font-size: 2.5rem; }
}

@media (max-width: 576px) {
    .hero_text h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }
    section { padding: 40px 0; }
    .btn-custom, .view-all, .download-btn, .contact-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}