:root {
    --bg-color: #f8fafc;
    --primary-dark: #0b132b;
    --primary-blue: #1a659e;
    --accent: #00b4d8;
    --gradient-text: linear-gradient(135deg, #0b132b 0%, #1a659e 100%);
    --text-main: #334155;
    --text-light: #64748b;
    --card-bg: #ffffff;
    --shadow-light: 0 10px 30px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 20px 40px rgba(26, 101, 158, 0.15);
    --transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}


* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    background-color: var(--bg-color); 
    color: var(--text-main); 
    font-family: 'Poppins', sans-serif; 
    overflow-x: hidden; 
    scroll-behavior: smooth; 
}
h1, h2, h3, h4, .title-font { font-family: 'Outfit', sans-serif; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 25px; width: 100%; }
section { padding: 100px 0; position: relative; }

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.btn {
    background: var(--gradient-text);
    color: #fff;
    padding: 14px 38px;
    border: none;
    border-radius: 50px; 
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(26, 101, 158, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(26, 101, 158, 0.4);
    filter: brightness(1.1);
}
.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    box-shadow: none;
}
.btn-outline:hover { background: #fff; color: var(--primary-dark); }

header {
    position: fixed; 
    top: 25px; 
    left: 50%;
    transform: translateX(-50%);
    width: 90%; 
    max-width: 1300px;
    background: rgba(255, 255, 255, 0.65); 
    backdrop-filter: blur(25px); 
    -webkit-backdrop-filter: blur(25px);
    z-index: 1000; 
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1); 
    border-radius: 50px; 
    border: 1px solid rgba(255, 255, 255, 0.7); 
    transition: var(--transition);
}

header.scrolled {
    top: 15px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
}

.header-content { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    height: 80px; 
    padding: 0 35px; 
}

.logo { font-size: 24px; font-weight: 800; color: var(--primary-dark); display: flex; align-items: center; gap: 10px; font-family: 'Outfit', sans-serif; transition: var(--transition); }
.logo:hover { opacity: 0.8; }
.logo i { color: var(--primary-blue); font-size: 28px; }

.nav-links { display: flex; gap: 35px; align-items: center; }
.nav-links li a { font-weight: 500; font-size: 1rem; color: var(--primary-dark); transition: var(--transition); position: relative; }
.nav-links li a::after {
    content: ''; position: absolute; bottom: -6px; left: 0; width: 0; height: 2px;
    background: var(--primary-blue); transition: var(--transition);
}
.nav-links li a:hover { color: var(--primary-blue); }
.nav-links li a:hover::after { width: 100%; }

.hamburger { display: none; font-size: 28px; color: var(--primary-dark); cursor: pointer; }


.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(11, 19, 43, 0.85); backdrop-filter: blur(8px);
    display: flex; justify-content: center; align-items: center;
    z-index: 2000; opacity: 0; pointer-events: none; transition: var(--transition);
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-content {
    background: #fff; padding: 40px; border-radius: 24px; width: 90%; max-width: 450px;
    text-align: center; transform: scale(0.9) translateY(20px); transition: var(--transition);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3); position: relative;
}
.modal-overlay.active .modal-content { transform: scale(1) translateY(0); }
.close-modal { position: absolute; top: 20px; right: 25px; font-size: 28px; cursor: pointer; color: var(--text-light); transition: 0.3s; }
.close-modal:hover { color: #ff3333; transform: rotate(90deg); }

.modal-options button {
    width: 100%; padding: 16px; margin: 10px 0; border: 2px solid #e2e8f0;
    background: #f8fafc; border-radius: 16px; font-weight: 600; font-size: 1.1rem;
    color: var(--primary-dark); cursor: pointer; transition: var(--transition); font-family: 'Outfit', sans-serif;
}
.modal-options button:hover { background: var(--primary-blue); color: #fff; border-color: var(--primary-blue); transform: translateY(-3px); }


.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;

    background-color: var(--primary-dark);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    position: relative;
    padding: 130px 0 80px;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        135deg,
        rgba(11, 19, 43, 0.85) 0%,
        rgba(26, 101, 158, 0.5) 100%
    );
}

.hero > .container {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
}


.hero-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    padding: 0 20px;

    color: #ffffff;
    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    width: 100%;
    margin-bottom: 25px;

    font-size: 4.8rem;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;

    text-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.hero p {
    width: 100%;
    max-width: 760px;
    margin: 0 auto 40px;

    color: #f1f5f9;
    font-size: 1.25rem;
    line-height: 1.8;
    text-align: center;

    opacity: 0.95;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.hero-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;

    width: 100%;
}
.hero-anim { opacity: 0; transform: translateY(40px); animation: fadeUp 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards; }
.hero-anim-1 { animation-delay: 0.2s; }
.hero-anim-2 { animation-delay: 0.4s; }
.hero-anim-3 { animation-delay: 0.6s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

.hero h1 { font-size: 4.8rem; line-height: 1.15; margin-bottom: 25px; font-weight: 800; text-shadow: 0 15px 40px rgba(0,0,0,0.5); }
.hero p { font-size: 1.25rem; color: #f1f5f9; margin-bottom: 40px; line-height: 1.8; opacity: 0.95; text-shadow: 0 5px 15px rgba(0,0,0,0.3); }
.hero-btns { display: flex; gap: 20px; justify-content: center; }

.about-section {
    background: #fff;
    padding: 120px 0;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}
.about-content { max-width: 900px; margin: 0 auto; }
.about-content h2 { font-size: 3.5rem; margin-bottom: 30px; font-weight: 800; }
.about-content p { font-size: 1.15rem; color: var(--text-light); line-height: 1.9; margin-bottom: 20px; }


.section-header { text-align: center; margin-bottom: 70px; }
.section-header h2 { font-size: 3rem; margin-bottom: 15px; font-weight: 800; }
.section-header p { font-size: 1.1rem; color: var(--text-light); max-width: 750px; margin: 0 auto; line-height: 1.7; }


.service-section { border-bottom: 1px solid #e2e8f0; background: var(--bg-color); }
.service-section:nth-child(even) { background: #fff; }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }

.card {
    background: var(--card-bg);
    border-radius: 24px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    display: flex; flex-direction: column;
    position: relative;
    border: 1px solid rgba(0,0,0,0.04);
    z-index: 1;
}
.card:hover { transform: translateY(-15px); box-shadow: var(--shadow-hover); }

.card-img { position: relative; height: 260px; overflow: hidden; border-radius: 24px 24px 0 0; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.card:hover .card-img img { transform: scale(1.08); }

.card-icon-box {
    position: absolute;
    bottom: -30px;
    right: 35px;
    width: 70px; height: 70px;
    background: var(--gradient-text);
    border-radius: 18px;
    display: flex; justify-content: center; align-items: center;
    color: #fff; font-size: 1.8rem;
    transform: rotate(-10deg); 
    box-shadow: 0 10px 25px rgba(26, 101, 158, 0.4);
    transition: var(--transition);
    z-index: 2;
}
.card:hover .card-icon-box { transform: rotate(0deg) scale(1.1); }

.card-content { padding: 50px 35px 35px 35px; flex: 1; position: relative; overflow: hidden; background: #fff; border-radius: 0 0 24px 24px;}

.card-bg-icon {
    position: absolute; bottom: 10px; right: 10px;
    font-size: 9rem; color: var(--primary-blue);
    opacity: 0.04; z-index: 0; transform: rotate(-15deg); transition: 0.5s;
}
.card:hover .card-bg-icon { opacity: 0.08; transform: rotate(0deg) scale(1.1); }

.card-content h3 { font-size: 1.6rem; color: var(--primary-dark); margin-bottom: 15px; font-weight: 700; position: relative; z-index: 1; }
.card-content p { font-size: 1rem; color: var(--text-light); line-height: 1.7; position: relative; z-index: 1; }


.contact-section { 
    background-color: var(--primary-dark);
    background-size: cover; background-position: center; background-attachment: fixed;
    position: relative; padding: 120px 0; 
}
.contact-section::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(11, 19, 43, 0.85); }

.contact-wrapper {
    background: #fff; border-radius: 30px; padding: 60px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
    max-width: 900px; margin: 0 auto; position: relative; z-index: 1;
    border-top: 6px solid var(--primary-blue);
}

.form-row { display: flex; gap: 25px; margin-bottom: 25px; }
.form-row > div { flex: 1; }

input, select, textarea {
    width: 100%; padding: 18px 24px; border: 2px solid #e2e8f0;
    background: #f8fafc; border-radius: 16px; font-size: 1.05rem;
    outline: none; transition: var(--transition); font-family: 'Poppins', sans-serif;
    color: var(--text-main);
}
input:focus, select:focus, textarea:focus { border-color: var(--primary-blue); box-shadow: 0 0 15px rgba(26, 101, 158, 0.1); background: #fff; }

select {
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
    cursor: pointer;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%231a659e" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat; background-position-x: 95%; background-position-y: center;
}

input[type="date"] {
    font-family: 'Poppins', sans-serif;
    -webkit-appearance: none;
    appearance: none;
    position: relative;
}

.submit-btn { width: 100%; padding: 20px; font-size: 1.2rem; margin-top: 15px; border-radius: 50px; }

.form-group { margin-bottom: 20px; text-align: left; }
.form-group label { display: block; font-weight: 500; margin-bottom: 8px; color: var(--primary-dark); }
.req { color: #e63946; }
.radio-group { display: flex; gap: 20px; align-items: center; margin-top: 5px; }
.radio-group label { display: flex; align-items: center; gap: 8px; margin-bottom: 0; font-weight: 400; cursor: pointer; width: auto; padding:0; }
.radio-group input[type="radio"] { width: 18px; height: 18px; padding: 0; margin: 0; cursor: pointer; accent-color: var(--primary-blue);}
.section-title { font-size: 1.4rem; color: var(--primary-blue); margin: 35px 0 20px; text-align: left; font-family: 'Outfit', sans-serif; border-bottom: 2px solid #e2e8f0; padding-bottom: 10px;}


footer { background: #060b19; color: #94a3b8; padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 50px; margin-bottom: 50px; }
.footer-col h3 { font-size: 1.5rem; color: #fff; margin-bottom: 25px; font-weight: 700; }
.footer-col p, .footer-col ul li a { font-size: 1rem; line-height: 1.8; transition: 0.3s; color: #94a3b8; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 30px; font-size: 0.95rem; }

.reveal { opacity: 0; transform: translateY(60px); transition: all 0.9s cubic-bezier(0.25, 0.8, 0.25, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }


.contact-form-status {
    display: none;
    width: 100%;
    margin: 0 0 20px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.6;
}

.contact-form-status--success {
    display: block;
    color: #17653a;
    background: #e9f9ef;
    border: 1px solid #9bddb4;
}

.contact-form-status--error {
    display: block;
    color: #9d2020;
    background: #fff0f0;
    border: 1px solid #efaaaa;
}

#contactSubmitButton:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

#contactSubmitButton .fa-spinner {
    pointer-events: none;
}


@media (max-width: 1024px) {
    header { width: 95%; }
    .hero h1 { font-size: 3.8rem; }
    .section-header h2 { font-size: 2.8rem; }
    .about-content h2 { font-size: 3rem; }
    .cards-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); } 
}

@media (max-width: 768px) {
    header { width: 95%; top: 15px; border-radius: 30px; }
    header.scrolled { top: 10px; }
    .header-content { height: 70px; padding: 0 25px; }
    
    .logo { font-size: 20px; }
    .logo i { font-size: 24px; }
    .nav-links { display: none; }
    .hamburger { display: block; font-size: 26px; }
    
    .hero { padding-top: 100px; background-attachment: scroll; }
    .hero h1 { font-size: 2.4rem; margin-bottom: 15px; }
    .hero p { font-size: 1rem; margin-bottom: 30px; }
    .hero-btns { flex-direction: column; gap: 12px; align-items: stretch; }
    .hero-btns .btn, .hero-btns .btn-outline { width: 100%; padding: 15px; }
    
    section { padding: 60px 0; }
    .about-section { padding: 70px 0; }
    .about-content h2 { font-size: 2.2rem; margin-bottom: 20px;}
    .about-content p { font-size: 0.95rem; }

    .section-header { margin-bottom: 40px; }
    .section-header h2 { font-size: 2rem; margin-bottom: 10px; }
    .section-header p { font-size: 0.95rem; }
    
    .cards-grid { gap: 30px; }
    .card-icon-box { width: 55px; height: 55px; font-size: 1.4rem; bottom: -20px; right: 25px; }
    .card-content { padding: 35px 25px 25px 25px; }
    .card-content h3 { font-size: 1.3rem; }
    .card-content p { font-size: 0.95rem; }
    
    .contact-section { padding: 60px 0; background-attachment: scroll;}
    .contact-wrapper { padding: 30px 20px; border-radius: 20px; border-top: 4px solid var(--primary-blue); }
    .contact-wrapper h2 { font-size: 2rem; margin-bottom: 15px;}
    
    .form-row { flex-direction: column; gap: 15px; margin-bottom: 15px; }
    .form-group { margin-bottom: 15px; }
    .section-title { font-size: 1.2rem; margin: 25px 0 15px; }
    
    input, select, textarea { 
        padding: 14px 18px; 
        font-size: 1rem; 
        border-radius: 12px; 
    }

    input[type="date"] {
        min-height: 52px;
        line-height: normal;
        padding: 14px 18px;
    }

    .radio-group { gap: 15px; } 
    
    .submit-btn { 
        padding: 22px 20px; 
        font-size: 1.3rem; 
        font-weight: 700; 
        margin-top: 25px; 
        border-radius: 50px; 
        box-shadow: 0 10px 25px rgba(26, 101, 158, 0.4); 
    }

    .modal-content { padding: 30px 20px; width: 95%; border-radius: 20px;}
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.1rem; }
    .cards-grid { grid-template-columns: 1fr; }
    .radio-group { flex-direction: column; align-items: flex-start; gap: 10px; }
}