/* CSS reset & variables */
:root {
    --primary: #1A2340;
    --primary-dark: #11172a;
    --accent: #E8650A;
    --accent-dark: #c85708;
    --white: #ffffff;
    --silver: #f4f6f8;
    --text-main: #333333;
    --text-light: #666666;
    --border: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    margin-top: 72px; /* For fixed navbar */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.bg-silver {
    background-color: var(--silver);
}

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

.bg-white {
    background-color: var(--white);
}

/* Page Header */
.page-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    background-image: 
        linear-gradient(rgba(26, 35, 64, 0.95), rgba(26, 35, 64, 0.95)),
        repeating-linear-gradient(45deg, #1f2a4c 25%, transparent 25%, transparent 75%, #1f2a4c 75%, #1f2a4c);
    background-position: 0 0;
    background-size: 20px 20px;
}

.page-header h1 {
    font-size: 40px;
    margin-bottom: 16px;
    color: var(--accent);
}

.page-header p {
    font-size: 18px;
    color: #cbd5e1;
    max-width: 700px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-orange {
    background: linear-gradient(135deg, var(--accent), #ff8a3d);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(232, 101, 10, 0.4);
}

.btn-orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 101, 10, 0.6);
}

.btn-outline-white {
    background-color: rgba(255,255,255,0.05);
    backdrop-filter: blur(5px);
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Navigation */
.navbar {
    background-color: rgba(26, 35, 64, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
    padding: 12px 0;
    background-color: rgba(15, 21, 42, 0.95);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
}

.logo-mark {
    background-color: var(--accent);
    color: var(--white);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 800;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s ease;
}

.nav-links a.active {
    color: var(--accent);
}

.nav-links a:hover {
    color: var(--accent);
}

.mobile-menu-btn {
    display: none;
    color: var(--white);
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(-45deg, #0f152a, #1A2340, #2c1a40, #1A2340);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: var(--white);
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(232,101,10,0.08) 0%, transparent 50%);
    animation: rotateGlow 20s linear infinite;
    pointer-events: none;
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: left;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 16px;
    line-height: 1.1;
    background: linear-gradient(to right, #ffffff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero p {
    font-size: 18px;
    color: #94a3b8;
    margin-bottom: 24px;
    font-weight: 300;
    opacity: 0;
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    opacity: 0;
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

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

/* Floating Visual in Hero */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: float 6s ease-in-out infinite;
    position: relative;
    width: 100%;
    max-width: 480px;
}

.glass-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(232,101,10,0.5), transparent, rgba(255,255,255,0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.glass-card-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.glass-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.glass-row:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.1);
}

.glass-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent), #ff8a3d);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.glass-text {
    flex: 1;
}

.glass-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.glass-subtitle {
    font-size: 13px;
    color: #94a3b8;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.floating-element {
    position: absolute;
    background: linear-gradient(135deg, var(--accent), #ff8a3d);
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
}

.fe-1 { width: 150px; height: 150px; top: -20px; right: -20px; animation-delay: 0s; }
.fe-2 { width: 100px; height: 100px; bottom: -20px; left: -20px; animation-delay: 2s; background: linear-gradient(135deg, #3b82f6, #60a5fa); }

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 0.8; }
    100% { transform: scale(1); opacity: 0.6; }
}

/* Trust Bar */
.trust-bar {
    background-color: var(--accent);
    padding: 24px 0;
    color: var(--white);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

/* Section styles */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 36px;
    margin-bottom: 16px;
    color: var(--primary);
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Details and Content Blocks */
.content-block {
    margin-bottom: 60px;
}

.content-block:last-child {
    margin-bottom: 0;
}

.content-block h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 16px;
}

.content-block p {
    margin-bottom: 16px;
    color: var(--text-light);
}

.content-block ul {
    list-style: disc;
    margin-left: 24px;
    margin-bottom: 16px;
    color: var(--text-light);
}

.content-block ul li {
    margin-bottom: 8px;
}

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

.about-text h2 {
    font-size: 32px;
    margin-bottom: 24px;
    color: var(--primary);
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 16px;
}

.stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.stat-card {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 32px 24px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.stat-card i {
    color: var(--accent);
    margin-bottom: 16px;
}

.stat-card h3 {
    font-size: 18px;
    color: var(--primary);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 8px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    border-top: 4px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    border-top-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.service-card i {
    color: var(--primary);
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--primary);
}

.service-card p {
    color: var(--text-light);
    font-size: 15px;
    flex: 1;
}

.service-detailed-list {
    margin-top: 24px;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.service-detailed-list li {
    font-size: 14px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.service-detailed-list li i {
    color: var(--accent);
    margin-bottom: 0;
    width: 14px;
    height: 14px;
}


/* Commitment Section */
.commitment-section {
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
}

.commitment-section .section-title {
    color: var(--white);
}

.commitment-flex {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.commitment-item {
    flex: 1;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.commitment-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.commitment-item h4 {
    font-size: 16px;
    font-weight: 600;
}

.commitment-item p {
    font-size: 14px;
    color: #cbd5e1;
}


/* Why Choose Us */
.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.bullet-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.bullet-icon {
    color: var(--accent);
    background: rgba(232, 101, 10, 0.1);
    padding: 8px;
    border-radius: 50%;
}

.bullet-item div h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--primary);
}

.bullet-item div p {
    color: var(--text-light);
    font-size: 15px;
}

.tag-cloud-card {
    background-color: var(--primary);
    padding: 40px;
    border-radius: 8px;
    color: var(--white);
    box-shadow: 0 20px 40px rgba(26, 35, 64, 0.2);
}

.tag-cloud-card h3 {
    margin-bottom: 24px;
    font-size: 24px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag {
    background-color: rgba(255,255,255,0.1);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.tag:hover {
    background-color: var(--accent);
}

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

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

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

.contact-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.contact-card i {
    color: var(--accent);
    background: rgba(232, 101, 10, 0.1);
    padding: 12px;
    border-radius: 4px;
}

.contact-card h4 {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 4px;
}

.contact-card a, .contact-card p {
    color: var(--text-light);
    font-size: 14px;
}

.contact-card a:hover {
    color: var(--accent);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

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

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
}

.form-group input, .form-group select, .form-group textarea {
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-family: inherit;
    font-size: 15px;
    color: var(--text-main);
    transition: border-color 0.3s ease;
    background-color: var(--white);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(232, 101, 10, 0.1);
}

.form-group textarea {
    resize: vertical;
    height: 120px;
}

.contact-form .btn {
    width: 100%;
}

/* Map placeholder */
.map-container {
    width: 100%;
    height: 400px;
    background-color: #e2e8f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    margin-top: 40px;
    font-weight: 500;
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: #cbd5e1;
    padding: 80px 0 0;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-logo {
    margin-bottom: 24px;
}

.footer-text {
    font-size: 15px;
    margin-bottom: 24px;
    max-width: 400px;
}

.footer-title {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    transition: color 0.3s ease;
    font-size: 15px;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 15px;
}

.footer-contact i {
    color: var(--accent);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    text-align: center;
    font-size: 14px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, visibility;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

/* Responsive */
@media (max-width: 992px) {
    .hero { min-height: auto; padding: 100px 0 80px; }
    .hero h1 { font-size: 40px; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-content { text-align: center; max-width: 100%; }
    .hero-buttons { justify-content: center; }
    .hero-visual { height: auto; padding-top: 20px; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .about-grid, .why-us-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
    .commitment-item { min-width: 140px; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 72px);
        background-color: rgba(15, 21, 42, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .nav-links.active { left: 0; }
    .mobile-menu-btn { display: block; }
    .nav-links .btn { margin-top: 20px; width: 100%; max-width: 250px; }
    
    .hero { padding: 60px 0 40px; }
    .hero h1 { font-size: 34px; }
    .hero p { font-size: 16px; margin-bottom: 32px; }
    .hero-buttons { flex-direction: column; width: 100%; align-items: center; }
    .hero-buttons .btn { width: 100%; max-width: 280px; }
    .glass-row { flex-direction: column; text-align: center; padding: 24px 16px; gap: 12px; }
    .glass-icon { margin-bottom: 8px; }
    
    .section { padding: 60px 0; }
    .section-title { font-size: 28px; }
    
    .services-grid { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .trust-grid { grid-template-columns: 1fr; gap: 24px; }
}
