/* Design System */
:root {
    --primary: #1E3A8A;
    --primary-dark: #172554;
    --accent: #F97316;
    --accent-hover: #EA580C;
    --text-main: #1F2937;
    --text-muted: #4B5563;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

h1, h2, h3, h4, .font-heading {
    font-family: var(--font-heading);
    font-weight: 700;
}

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

ul {
    list-style: none;
}

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

section {
    padding: 100px 0;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 8px;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary);
    transform: translateY(-2px);
}

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

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

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 10px 0;
}

header.scrolled {
    background: var(--glass);
    backdrop-filter: blur(12px);
    padding: 6px 0;
    box-shadow: var(--shadow-md);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

header.scrolled .logo {
    color: var(--primary);
}

.logo span {
    color: var(--accent);
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul a {
    font-weight: 500;
    color: white;
}

header.scrolled nav ul a {
    color: var(--primary);
}

nav ul a:hover {
    color: var(--accent) !important;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
}

header.scrolled .mobile-menu-btn {
    color: var(--primary);
}

header.scrolled .btn-secondary {
    border-color: var(--primary);
    color: var(--primary);
}

header.scrolled .btn-secondary:hover {
    background-color: var(--primary);
    color: white;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(rgba(30, 58, 138, 0.7), rgba(30, 58, 138, 0.7)), url('assets/images/hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
    padding-top: 80px;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    text-wrap: balance;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* Trust Badges */
.trust-badges {
    background: var(--bg-white);
    padding: 60px 0;
    margin-top: -80px;
    position: relative;
    z-index: 10;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 90%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.badge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.badge-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.badge-icon {
    width: 64px;
    height: 64px;
    background: rgba(30, 58, 138, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.badge-item h3 {
    font-size: 1.5rem;
    color: var(--primary);
}

.badge-item p {
    color: var(--text-muted);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-experience {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--primary);
    color: white;
    padding: 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-experience span {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.section-tag {
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.about-features {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.feature-item i {
    color: var(--accent);
}

/* Services Section */
.services {
    background: var(--bg-light);
}

.text-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative; /* Added for clickable link expansion */
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(30, 58, 138, 0.05);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: white;
}

.service-card h3 {
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.938rem;
    transition: var(--transition);
}

.service-link i {
    width: 18px;
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: var(--accent);
}

.service-link:hover i {
    transform: translateX(5px);
}

.service-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* Quote Section */
.quote-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    position: relative;
    overflow: hidden;
}

.quote-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?q=80&w=800&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    mix-blend-mode: overlay;
}

.quote-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

.quote-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.quote-form-container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: var(--radius-lg);
    color: var(--text-main);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--glass-border);
}

.quote-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-weight: 500;
    font-size: 0.875rem;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-sm);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

/* Testimonials */
.testimonials {
    background: var(--bg-white);
}

.swiper-container {
    padding: 40px 10px 80px;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    height: 100%;
}

.testimonial-stars {
    color: #FBBF24;
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.testimonial-author h4 {
    color: var(--primary);
    margin-bottom: 4px;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 58, 138, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-method {
    display: flex;
    gap: 20px;
}

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

.contact-method h4 {
    margin-bottom: 4px;
}

.map-container {
    height: 300px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-top: 20px;
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: white;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    color: white;
    font-size: 2rem;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.footer-about p {
    opacity: 0.7;
}

.footer-links h4 {
    font-size: 1.25rem;
    margin-bottom: 24px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    opacity: 0.7;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--accent);
    padding-left: 5px;
}

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

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

.social-icon:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.7;
    font-size: 0.875rem;
}

/* Service Pages Shared Styles */
.service-hero {
    background-size: cover;
    background-position: center;
    padding: 160px 0 100px;
    color: white;
    text-align: center;
}

.service-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.service-details {
    padding: 100px 0;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.detail-content h2 {
    font-size: 2.8rem;
    margin-bottom: 24px;
    color: var(--primary);
    line-height: 1.2;
}

.detail-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

.process-section, .benefits-section, .material-section {
    background: var(--bg-light);
    padding: 100px 0;
}

.process-steps, .benefit-grid, .material-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step-card, .benefit-card, .material-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.step-card:hover, .benefit-card:hover, .material-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.step-card i, .benefit-card i, .material-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    display: block;
}

/* Floating Elements */
.whatsapp-btn, .call-btn {
    position: fixed;
    bottom: 30px;
    width: 60px;
    height: 60px;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-btn {
    right: 30px;
    background: #25D366;
}

.call-btn {
    left: 30px;
    background: var(--primary);
}

.whatsapp-btn:hover, .call-btn:hover {
    transform: scale(1.1) translateY(-5px);
    color: white;
}

.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transform: translateX(100%);
    transition: var(--transition);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu a {
    color: white;
    font-size: 2rem;
    font-family: var(--font-heading);
}

.close-menu {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3rem; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .quote-grid { grid-template-columns: 1fr; }
    .quote-section::before { display: none; }
}

@media (max-width: 768px) {
    .container { width: 100% !important; padding: 0 15px !important; }
    header { padding: 5px 0 !important; }
    header.scrolled { padding: 3px 0 !important; }
    .logo img { height: 55px !important; transform: scale(1.3) !important; }
    .nav-container nav, .header-cta .btn { display: none; }
    .mobile-menu-btn { display: block; }
    
    .hero { text-align: center; padding: 120px 0 60px; }
    .hero-btns { justify-content: center; flex-direction: column; }
    .hero-btns .btn { width: 100%; }
    .hero h1 { font-size: 2.5rem; text-wrap: wrap; }
    
    .service-hero { padding: 120px 0 60px; }
    .service-hero h1 { font-size: 2.2rem; }
    
    .detail-grid { grid-template-columns: 1fr; gap: 40px; }
    .detail-content h2 { font-size: 1.8rem; }
    
    .badge-grid { grid-template-columns: 1fr; gap: 30px; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-experience { position: static; margin-top: 20px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    
    .section-title { font-size: 2rem; }
    
    .quote-form-container { padding: 25px 20px; }
    .quote-form { grid-template-columns: 1fr; gap: 15px; }
    .form-group.full-width { grid-column: auto; }

    .process-steps, .benefit-grid, .material-grid { grid-template-columns: 1fr; }
    
    .footer-bottom { 
        flex-direction: column; 
        text-align: center; 
        gap: 15px; 
        padding-bottom: 20px;
    }
}

/* Success Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    transform: scale(0.8);
    opacity: 0;
    transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal-icon {
    font-size: 4rem;
    color: #22c55e;
    margin-bottom: 20px;
}

.modal-content h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.modal-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}
