/* Global Variables */
:root {
    --bg-color: #FFFFFF;
    /* Light background */
    --text-color: #000000;
    --text-muted: #666666;
    --primary-color: #102868;
    /* Purple Accent */
    --primary-hover: #f22222;
    --font-main: 'Epilogue', sans-serif;

    --container-width: 1140px;
    --header-height: 80px;

    --transition: all 0.3s ease;
}

/* Reset & Base HTML */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    border: none;
    cursor: pointer;
    background: none;
}

/* Utilities */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 4px;
    /* Slightly rounded */
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(84, 84, 212, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid rgba(0, 0, 0, 0.7);
    background-color: #102868;
    color: #ffffff;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
}

/* Header */
.header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.5rem;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-list {
    display: flex;
    gap: 10px;
}

.nav-link {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 1rem;
    padding: 12px 15px;
    display: inline-block;
}

.nav-link:hover,
.nav-link.active {
    color: #000;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #000;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 80px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(to right, #000, #333);
    /* Subtle gradient */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 450px;
}

.arrow-icon {
    margin-left: 8px;
    font-size: 1.2rem;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.image-wrapper {
    position: relative;
}

.image-wrapper img {
    /* Removed default styles for custom transparent image */
    width: 100%;
    height: auto;
    object-fit: contain;
}

.hero-img-custom {
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    /* Use drop-shadow for transparent PNGs */
}

/* Why Enver */
.why-enver {
    padding: 50px 0;
    background: linear-gradient(180deg, var(--bg-color) 0%, #f0f0f0 100%);
}

.why-enver .section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 20px;
}

.why-enver-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
}

.video-placeholder {
    width: 60%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    /* Prevent squishing */
}

.why-text {
    flex: 1;
}

.why-text .section-desc {
    text-align: left;
    margin: 0;
    max-width: 100%;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: #f22222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 10px rgba(84, 84, 212, 0.2);
    transition: var(--transition);
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-icon {
    width: 30px;
    color: white;
}

/* Services */
.services {
    padding: 50px 0;
    text-align: center;
}

.center-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.icon-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}

.icon-blue {
    background-color: rgba(84, 84, 212, 0.2);
    color: var(--primary-color);
}

.icon-red {
    background-color: rgba(242, 78, 30, 0.2);
    color: #F24E1E;
}

.icon-yellow {
    background-color: rgba(255, 208, 47, 0.2);
    color: #FFD02F;
}

.service-card h3 {
    margin-top: 15px;
    margin-bottom: 16px;
    font-size: 1.35rem;
    line-height: 1.4;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Portfolio */
.portfolio {
    padding: 50px 0;
    position: relative;
}

.portfolio-slider {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
    flex-wrap: wrap;
    /* Fallback for no JS slider */
}

.portfolio-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.offset-up {
    transform: translateY(-20px);
    z-index: 2;
}

.bg-decor-circle {
    position: absolute;
    right: 5%;
    bottom: 20%;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

/* Contact */
.contact {
    padding: 50px 0;
    position: relative;
    background-color: #f9f9f9;
    /* Slightly lighter for contrast area */
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
}

.contact-title {
    font-size: 2.5rem;
    max-width: 600px;
}

.contact-decor-plus {
    position: absolute;
    right: 10%;
    top: 30%;
    font-size: 3rem;
    font-weight: 300;
    color: rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    padding: 35px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-nav {
    display: flex;
    gap: 30px;
}

.footer-nav a {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 12px 10px;
    display: inline-block;
}

.copyright {
    color: #666;
    font-size: 0.9rem;
    /* Removed width: 100% and text-align: center to allow flex positioning */
}

.footer-line {
    /* Line should start with 20px padding and end with 20px padding relative to the container or full width? 
       "start from a padding of 20px and end padding should be 20px" usually means 
       width: calc(100% - 40px); margin: 0 auto; 
    */
    width: calc(100% - 120px);
    height: 2px;
    background-color: rgba(0, 0, 0, 0.1);
    margin: 20px auto;
}

.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    /* Optional spacing */
}

/* Ensure social icons don't have extra top margin from previous style */
.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .why-enver-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .why-text .section-desc {
        text-align: center;
    }

    .video-placeholder {
        width: 100%;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .contact-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 20px;
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
    }

    .nav.open {
        transform: translateY(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .header .btn-outline {
        display: none;
    }

    /* Hide Contact btn on mobile nav bar, assume it's in menu or elsewhere */

    /* Mobile Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-links-group {
        padding: 20px;
        align-items: center;
        width: 100%;
    }

    .footer-nav {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        width: 100%;
        gap: 15px;
        margin-bottom: 20px;
    }

    .footer-nav a {
        padding: 5px 10px;
        display: inline-block;
    }

    .social-icons {
        justify-content: center;
        width: 100%;
    }
}

/* Footer Groups */
.footer-links-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* Footer Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
    /* Removed width: 100% so it stays under the nav */
}

.social-icons a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-3px);
}

.social-icons img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Infography Section */
.infography {
    padding: 50px 0;
    /* Spacing around the section */
    background-color: var(--bg-color);
}

.infography-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    /* Space between text and image */
}

.infography-text {
    flex: 1;
    /* Takes up available space */
    max-width: 50%;
}

.infography-image {
    flex: 1;
    /* Takes up available space */
    max-width: 50%;
    display: flex;
    justify-content: flex-end;
    /* Aligns image to the right */
}

.infography-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    /* Rounded corners for the image */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    /* Soft shadow */
}

/* Responsive for Infography */
@media (max-width: 992px) {
    .infography-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .infography-text,
    .infography-image {
        max-width: 100%;
        /* Full width on smaller screens */
    }

    .infography-image {
        justify-content: center;
        /* Center image on mobile */
    }
}

/* Detail Display Section */
.detail-display {
    padding: 50px 0;
    background-color: var(--bg-color);
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.detail-card {
    border: 4px #000;
    /* Detailed border as requested */
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.detail-image {
    width: 100%;
}

.detail-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    /* Consistent aspect ratio */
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.detail-text {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.detail-card .btn {
    margin-top: auto;
    /* Pushes button to bottom if content varies */
    min-width: 150px;
}

.btn-outline:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

/* Responsive for Detail Display */
@media (max-width: 992px) {
    .detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Page Styles */
.contact-hero {
    padding: 80px 0 40px;
    background-color: var(--bg-color);
}

.contact-hero .hero-title {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-hero .hero-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.center-text {
    text-align: center;
}

.response-time {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.response-time svg {
    fill: #28a745;
    /* Green color for the clock icon */
    width: 20px;
    height: 20px;
}

/* Contact Methods */
.contact-methods {
    padding: 50px 0;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.method-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Lighter shadow */
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.method-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.method-icon svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

.icon-blue {
    background-color: var(--primary-color);
}

.icon-green {
    background-color: #28a745;
}

.icon-orange {
    background-color: #fd7e14;
}

.method-card h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.method-card p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.method-link {
    color: var(--primary-color);
    font-weight: 600;
}

.method-link:hover {
    text-decoration: underline;
}

/* Message Section */
.message-section {
    padding: 60px 0 80px;
}

.contact-layout {
    display: flex;
    gap: 60px;
}

.contact-info-left {
    flex: 1;
}

.contact-info-left h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-info-left>p {
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.7;
}

.office-hours-box {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.office-hours-box h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.office-hours-box p {
    margin-bottom: 10px;
    color: var(--text-muted);
}

.contact-form-right {
    flex: 1.5;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* Slightly stronger shadow for form */
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(16, 40, 104, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 0.9rem;
}

.checkbox-group a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0 80px;
    background-color: #f8f9fa;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.faq-item {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 992px) {
    .methods-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-layout {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .methods-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .contact-hero .hero-title {
        font-size: 2.2rem;
    }

    .contact-form-right {
        padding: 25px;
    }
}

/* ==============================
   Privacy Policy Layout
================================ */

.privacy-wrapper {
    padding: 50px 0;
}

.privacy-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    padding: 0 20px;
}

/* Sidebar */
.privacy-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sidebar-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.sidebar-card h4 {
    margin-bottom: 15px;
    font-size: 15px;
}

.sidebar-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-card ul li {
    margin-bottom: 10px;
}

.sidebar-card ul li a {
    text-decoration: none;
    font-size: 14px;
    color: #555;
    transition: color 0.2s ease;
}

.sidebar-card ul li a:hover {
    color: #000;
}

.download-btn {
    display: inline-block;
    margin-top: 20px;
    font-size: 14px;
    text-decoration: none;
    color: #007bff;
}

/* Content */
.privacy-content h2 {
    margin-top: 40px;
    margin-bottom: 15px;
}

.privacy-content h4 {
    margin-top: 20px;
    margin-bottom: 8px;
}

.privacy-content p,
.privacy-content ul {
    color: #555;
    line-height: 1.7;
}

.privacy-content ul {
    padding-left: 20px;
}

/* Info Box */
.info-box {
    background: #eaf2ff;
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 14px;
}

/* Usage Grid */
.usage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.usage-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.usage-card h4 {
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 992px) {
    .privacy-container {
        grid-template-columns: 1fr;
    }

    .privacy-sidebar {
        position: relative;
        top: auto;
    }

    .usage-grid {
        grid-template-columns: 1fr;
    }
}