@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;800&display=swap');

:root {
    --primary: #ff7e20;
    --primary-dark: #e66d10;
    --secondary: #4f5567;
    --background: #ffffff;
    --sidebar-bg: #f8faff;
    --text-main: #2d3436;
    --text-muted: #636e72;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.8);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--background);
}

h1, h2, h3, h4, h5 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

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

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
    background: var(--glass);
    backdrop-filter: blur(20px);
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.logo img {
    height: 55px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-main);
}

nav ul li a:hover {
    color: var(--primary);
}

.nav-btn {
    background: var(--primary);
    color: white !important;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
}

.nav-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 30px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 10px;
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
    padding: 200px 8% 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    background-image: url('/images/hero_bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: var(--primary);
    filter: blur(180px);
    opacity: 0.15;
    z-index: 1;
}

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

.hero-content h1 {
    font-size: 60px;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-content h1 span {
    color: var(--primary);
    text-shadow: 0 2px 4px rgba(255, 126, 32, 0.1);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-main);
    font-weight: 500;
    margin-bottom: 35px;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    max-width: 700px;
}

.cta-group {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

.btn-secondary {
    border: 2px solid var(--primary);
    background: rgba(255, 255, 255, 0.5);
    color: var(--primary);
    backdrop-filter: blur(5px);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 126, 32, 0.3);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 126, 32, 0.2);
}



/* --- Services --- */
.services {
    padding: 100px 8%;
    text-align: center;
}

.section-title {
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    padding: 50px 30px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #f0f0f0;
}

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

.service-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--primary);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

/* --- Footer --- */
footer {
    padding: 80px 8% 40px;
    background: var(--secondary);
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-info img {
    height: 75px;
    margin-bottom: 25px;
    /* Clean display of logo colors on dark background */
}

.footer-info p {
    color: #bdc3c7;
}

.footer-links h4 {
    margin-bottom: 25px;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links ul li a {
    color: #bdc3c7;
}

.footer-links ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #7f8c8d;
    font-size: 14px;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    nav {
        padding: 0 5%;
        height: 80px;
    }
    .logo img {
        height: 45px;
    }
    nav ul {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 40px 0;
        text-align: center;
        gap: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    nav ul.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero {
        padding-top: 150px;
    }
    .hero-content h1 {
        font-size: 42px;
    }
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 32px;
    }
    .hero-content p {
        font-size: 16px;
    }
    .cta-group {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    .btn {
        width: 100%;
        padding: 12px 20px;
    }
    .service-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-info, .footer-links {
        margin-bottom: 30px;
    }
}

/* --- Contact Page --- */
.contact-hero {
    padding: 160px 8% 120px;
    background: var(--sidebar-bg);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-content {
    padding: 0 8% 80px;
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.premium-form {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    border: 1px solid #f0f0f0;
}

.form-group {
    margin-bottom: 25px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-main);
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 20px;
    border: 1.5px solid #edf2f7;
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
    background: #fcfdfe;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 126, 32, 0.1);
}

.btn-block {
    width: 100%;
    margin-top: 20px;
    padding: 18px;
    font-size: 16px;
}

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

.info-card {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--primary);
}

.info-card h3 {
    margin-bottom: 20px;
    font-size: 24px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    align-items: flex-start;
}

.info-icon {
    font-size: 24px;
    background: #fff5eb;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.info-text p,
.info-text a {
    color: var(--text-muted);
    font-size: 15px;
}

.contact-social h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    background: var(--white);
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow);
    border: 1px solid #f0f0f0;
}

.social-link:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.alert {
    padding: 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.alert-success {
    background: #f0fff4;
    border: 1px solid #c6f6d5;
    color: #2f855a;
}

.alert-icon {
    font-size: 24px;
    font-weight: bold;
}

.text-danger {
    color: #e53e3e;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}
