/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', sans-serif; color: #1e293b; background: #fff; line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== VARIABLES ===== */
:root {
    --primary: #0f766e;
    --primary-dark: #0d6560;
    --primary-light: #14b8a6;
    --accent: #f59e0b;
    --dark: #0f172a;
    --dark-2: #1e293b;
    --light: #f8fafc;
    --light-2: #f1f5f9;
    --white: #ffffff;
    --grey: #64748b;
    --border: #e2e8f0;
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.06);
    --radius: 10px;
    --radius-lg: 18px;
    --transition: 0.3s ease;
    --max-width: 1200px;
}

/* ===== CONTAINER ===== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.2; color: var(--dark); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1.05rem; }
p { color: var(--grey); }

/* ===== BUTTONS ===== */
.btn { display: inline-block; padding: 13px 30px; border-radius: var(--radius); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.3px; transition: all var(--transition); cursor: pointer; border: 2px solid transparent; font-family: 'Inter', sans-serif; }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15,118,110,0.3); }
.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: #d97706; border-color: #d97706; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,158,11,0.35); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline-light:hover { background: var(--primary); color: #fff; }
.mt-1 { margin-top: 1rem; display: inline-block; }

/* ===== SECTION STYLES ===== */
section { padding: 96px 0; }
.section-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; display: block; }
.section-title { margin-bottom: 16px; color: var(--dark); }
.section-subtitle { max-width: 600px; font-size: 1.05rem; margin-bottom: 52px; color: var(--grey); }
.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ===== ANIMATE ON SCROLL ===== */
.animate { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.animate.visible { opacity: 1; transform: translateY(0); }
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }

/* ===== HEADER ===== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 20px 0; background: transparent; transition: all var(--transition); }
.site-header.scrolled { background: rgba(255,255,255,0.97); backdrop-filter: blur(12px); padding: 14px 0; box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0,0,0,0.06); }
.site-header.scrolled .logo { color: var(--dark); }
.site-header.scrolled .logo-text span { color: var(--primary); }
.site-header.scrolled .main-nav a { color: var(--grey); }
.site-header.scrolled .main-nav a:hover, .site-header.scrolled .main-nav a.active { color: var(--primary); }
.site-header.scrolled .hamburger span { background: var(--dark); }
.header-inner { display: flex; align-items: center; gap: 32px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; color: #fff; transition: color var(--transition); }
.logo-icon { font-size: 1.4rem; color: var(--primary-light); }
.logo-text span { color: var(--primary-light); }
.site-header.scrolled .logo-icon { color: var(--primary); }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 36px; }
.main-nav a { color: rgba(255,255,255,0.9); font-size: 0.92rem; font-weight: 500; transition: color var(--transition); position: relative; padding-bottom: 4px; }
.main-nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary); transition: width var(--transition); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.nav-cta { margin-left: 8px; padding: 10px 22px; font-size: 0.88rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; transition: all var(--transition); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero { min-height: 100vh; background: linear-gradient(135deg, rgba(15,23,42,0.88) 0%, rgba(15,118,110,0.65) 100%), url('https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?w=1600') center/cover no-repeat; display: flex; align-items: center; padding: 120px 0 80px; position: relative; }
.hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 100px; background: linear-gradient(to top, #fff, transparent); }
.hero-content { max-width: 680px; color: #fff; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); color: #fff; padding: 7px 18px; border-radius: 50px; font-size: 0.82rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 24px; backdrop-filter: blur(8px); }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 span { color: var(--primary-light); }
.hero p { font-size: 1.1rem; color: rgba(255,255,255,0.82); margin-bottom: 36px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .btn-outline { color: #fff; border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.08); backdrop-filter: blur(8px); }
.hero .btn-outline:hover { background: rgba(255,255,255,0.2); border-color: #fff; transform: translateY(-2px); }
.hero-stats { display: flex; gap: 40px; margin-top: 60px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.15); }
.hero-stat .number { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700; color: var(--primary-light); line-height: 1; }
.hero-stat .label { font-size: 0.82rem; color: rgba(255,255,255,0.65); margin-top: 5px; letter-spacing: 0.5px; }

/* ===== ABOUT ===== */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-images { position: relative; }
.about-img-main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); height: 480px; }
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-secondary { position: absolute; bottom: -32px; right: -32px; width: 220px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 4px solid #fff; }
.about-img-secondary img { width: 100%; height: 160px; object-fit: cover; }
.about-badge { position: absolute; top: 32px; left: -24px; background: var(--primary); color: #fff; border-radius: var(--radius); padding: 18px 22px; text-align: center; box-shadow: 0 8px 32px rgba(15,118,110,0.35); }
.about-badge .number { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; line-height: 1; display: block; }
.about-badge .text { font-size: 0.72rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; opacity: 0.9; }
.about-features { display: flex; flex-direction: column; gap: 20px; margin: 32px 0; }
.about-feature { display: flex; gap: 16px; align-items: flex-start; }
.about-feature-icon { width: 46px; height: 46px; background: linear-gradient(135deg, #ecfdf5, #d1fae5); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.1rem; flex-shrink: 0; }
.about-feature-text h4 { color: var(--dark); margin-bottom: 4px; font-family: 'Inter', sans-serif; font-weight: 600; }
.about-feature-text p { font-size: 0.88rem; margin: 0; }

/* ===== SERVICES ===== */
.services { background: var(--light); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: all var(--transition); border: 1px solid var(--border); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card-img { height: 210px; overflow: hidden; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.service-card:hover .service-card-img img { transform: scale(1.06); }
.service-card-body { padding: 26px; }
.service-icon { width: 44px; height: 44px; background: linear-gradient(135deg, #ecfdf5, #d1fae5); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.15rem; margin-bottom: 14px; }
.service-card-body h3 { color: var(--dark); margin-bottom: 8px; font-size: 1.1rem; }
.service-card-body p { font-size: 0.88rem; margin-bottom: 18px; line-height: 1.6; }
.service-link { color: var(--primary); font-weight: 600; font-size: 0.85rem; display: inline-flex; align-items: center; gap: 6px; transition: gap var(--transition); }
.service-link:hover { gap: 10px; }

/* ===== PROJECTS ===== */
.projects { background: #fff; }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project-card { border-radius: var(--radius-lg); overflow: hidden; position: relative; aspect-ratio: 4/3; cursor: pointer; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.project-card:hover img { transform: scale(1.06); }
.project-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,23,42,0.82) 0%, transparent 55%); opacity: 0; transition: opacity var(--transition); display: flex; align-items: flex-end; padding: 22px; }
.project-card:hover .project-card-overlay { opacity: 1; }
.project-card-overlay h3 { color: #fff; font-size: 1rem; }
.projects-cta { text-align: center; margin-top: 48px; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--light); padding: 96px 0; }
.testimonials .section-label { color: var(--primary); }
.testimonials .section-title { color: var(--dark); }
.testimonials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.testimonial-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; transition: all var(--transition); box-shadow: var(--shadow); }
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.testimonial-stars { color: var(--accent); font-size: 1rem; margin-bottom: 16px; letter-spacing: 3px; }
.testimonial-text { font-size: 0.97rem; color: var(--grey); font-style: italic; line-height: 1.8; margin-bottom: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary-light); }
.testimonial-author-info strong { color: var(--dark); display: block; font-size: 0.92rem; font-family: 'Inter', sans-serif; }
.testimonial-author-info span { color: var(--grey); font-size: 0.78rem; }

/* ===== CTA BANNER ===== */
.cta-banner { background: linear-gradient(135deg, var(--primary) 0%, #0d6560 100%); padding: 88px 0; text-align: center; }
.cta-banner h2 { color: #fff; margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.82); font-size: 1.05rem; max-width: 520px; margin: 0 auto 36px; }
.cta-banner .btn-accent { background: #fff; color: var(--primary); border-color: #fff; font-weight: 700; }
.cta-banner .btn-accent:hover { background: var(--light); border-color: var(--light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

/* ===== PAGE HERO ===== */
.page-hero { background: linear-gradient(135deg, rgba(15,23,42,0.9) 0%, rgba(15,118,110,0.7) 100%), url('https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?w=1600') center/cover; padding: 160px 0 88px; text-align: center; color: #fff; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 560px; margin: 16px auto 0; font-size: 1.05rem; }

/* ===== CONTACT PAGE ===== */
.contact-section { padding: 96px 0; background: var(--light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.contact-info h3 { color: var(--dark); margin-bottom: 14px; }
.contact-info > p { margin-bottom: 36px; font-size: 0.97rem; }
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.contact-item-icon { width: 46px; height: 46px; background: linear-gradient(135deg, #ecfdf5, #d1fae5); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1rem; flex-shrink: 0; }
.contact-item-text strong { display: block; color: var(--dark); margin-bottom: 3px; font-size: 0.88rem; font-weight: 600; }
.contact-item-text a, .contact-item-text span { color: var(--grey); font-size: 0.92rem; transition: color var(--transition); }
.contact-item-text a:hover { color: var(--primary); }
.contact-form-card { background: #fff; border-radius: var(--radius-lg); padding: 48px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.contact-form-card h3 { color: var(--dark); margin-bottom: 8px; }
.contact-form-card > p { margin-bottom: 28px; font-size: 0.92rem; }
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 0.82rem; color: var(--dark-2); margin-bottom: 7px; letter-spacing: 0.3px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 11px 15px; border: 1.5px solid var(--border); border-radius: var(--radius); font-family: 'Inter', sans-serif; font-size: 0.92rem; color: var(--dark-2); background: var(--light); transition: border-color var(--transition), background var(--transition); outline: none; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(15,118,110,0.1); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-submit { width: 100%; padding: 14px; font-size: 1rem; }

/* ===== SERVICES PAGE ===== */
.services-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.service-detail-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); transition: all var(--transition); }
.service-detail-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-detail-img { height: 250px; overflow: hidden; }
.service-detail-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.service-detail-card:hover .service-detail-img img { transform: scale(1.04); }
.service-detail-body { padding: 30px; background: #fff; }
.service-detail-body h3 { color: var(--dark); margin-bottom: 10px; }
.service-detail-body p { font-size: 0.88rem; margin-bottom: 20px; line-height: 1.7; }
.service-features-list { list-style: none; margin-bottom: 24px; }
.service-features-list li { display: flex; align-items: center; gap: 10px; font-size: 0.86rem; color: var(--dark-2); padding: 7px 0; border-bottom: 1px solid var(--border); }
.service-features-list li:last-child { border-bottom: none; }
.service-features-list li i { color: var(--primary); width: 14px; }

/* ===== PROJECTS PAGE ===== */
.projects-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project-page-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); transition: all var(--transition); }
.project-page-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.project-page-card-img { height: 230px; overflow: hidden; }
.project-page-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.project-page-card:hover .project-page-card-img img { transform: scale(1.05); }
.project-page-card-body { padding: 20px; background: #fff; }
.project-page-card-body h4 { color: var(--dark); margin-bottom: 6px; font-family: 'Inter', sans-serif; font-weight: 600; }
.project-page-card-body p { font-size: 0.84rem; }
.project-tag { display: inline-block; background: #ecfdf5; color: var(--primary); border-radius: 50px; padding: 3px 12px; font-size: 0.72rem; font-weight: 700; margin-bottom: 8px; letter-spacing: 0.5px; text-transform: uppercase; }

/* ===== FOOTER ===== */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.65); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr 1.8fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo { color: #fff; }
.footer-brand .logo-icon { color: var(--primary-light); }
.footer-brand .logo-text span { color: var(--primary-light); }
.footer-brand p { font-size: 0.88rem; margin: 16px 0 24px; color: rgba(255,255,255,0.5); line-height: 1.7; }
.social-links { display: flex; gap: 10px; }
.social-links a { width: 36px; height: 36px; border-radius: var(--radius); background: rgba(255,255,255,0.07); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); transition: all var(--transition); font-size: 0.85rem; }
.social-links a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.footer-links h4, .footer-services h4, .footer-contact h4 { color: #fff; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px; }
.footer-links ul li, .footer-services ul li { margin-bottom: 10px; }
.footer-links ul li a, .footer-services ul li a { color: rgba(255,255,255,0.5); font-size: 0.88rem; transition: color var(--transition); }
.footer-links ul li a:hover, .footer-services ul li a:hover { color: var(--primary-light); }
.footer-contact p { font-size: 0.88rem; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.5); }
.footer-contact p i { color: var(--primary-light); width: 14px; }
.footer-contact a { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-contact a:hover { color: var(--primary-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0; text-align: center; }
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.3); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .about-grid { gap: 40px; }
    .about-img-secondary { display: none; }
}
@media (max-width: 900px) {
    .services-grid, .projects-page-grid { grid-template-columns: 1fr 1fr; }
    .services-page-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .about-images { display: none; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .projects-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    section { padding: 64px 0; }
    .main-nav { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: var(--white); padding: 80px 32px 32px; transition: right var(--transition); z-index: 999; box-shadow: -4px 0 32px rgba(0,0,0,0.12); }
    .main-nav.open { right: 0; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav a { display: block; padding: 14px 0; font-size: 1rem; border-bottom: 1px solid var(--border); color: var(--grey) !important; }
    .main-nav a:hover, .main-nav a.active { color: var(--primary) !important; }
    .hamburger { display: flex; z-index: 1000; }
    .nav-cta { display: none; }
    .hero-stats { flex-wrap: wrap; gap: 24px; }
    .services-grid, .projects-grid, .projects-page-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-card { padding: 28px; }
    .about-badge { display: none; }
}
@media (max-width: 480px) {
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .testimonials-grid { grid-template-columns: 1fr; }
}