/* ========================================
   EVRAN YAPI - HOME PAGE STYLES
   Modern, Responsive & Corporate Design
   HTML Structure Based Implementation
======================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    width: 100%;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    overflow-x: hidden;
    background-color: #ffffff;
    width: 100%;
    position: relative;
}

/* Ultra Wide Body Fix */
@media (min-aspect-ratio: 21/9) {

    html,
    body {
        width: 100%;
        max-width: none;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
    }
}

/* Universal overflow prevention */
* {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Header dropdown istisna - max-width override edilmeli */
#main-header *,
#main-header .dropdown-menu,
#main-header .dropdown-menu * {
    max-width: none;
}

/* Container Base System */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0px 6px;
    width: 100%;
    box-sizing: border-box;
}

/* Main Content Layout */
.main-content {

    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* Ultra Wide Main Content Fix */
@media (min-aspect-ratio: 21/9) {
    .main-content {
        width: 100vw;
        max-width: none;
        overflow-x: hidden;
        position: relative;
        left: 0;
        right: 0;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
    }
}

/* Section Base Styles */
section {

    width: 100%;
    max-width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    color: #e74c3c;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.1rem;
    color: #7f8c8d;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    box-sizing: border-box;
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

/* Button System */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    line-height: 1.4;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    color: white;
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
    border-color: white;
}

/* Secondary button variant for non-hero sections */
.btn-secondary {
    background: transparent;
    color: #2c3e50;
    border: 2px solid #e74c3c;
}

.btn-secondary:hover {
    background: #e74c3c;
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}



/* ========================================
   COMPANY STATS SECTION
======================================== */
.stats {
    padding: 4rem 0;
    background: #ffffff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;
    box-sizing: border-box;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.25rem;
    line-height: 1;
}

.stat-label {
    color: #7f8c8d;
    font-weight: 500;
    font-size: 1rem;
}

/* ========================================
   ABOUT SECTION
======================================== */
.about {
    padding: 6rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.about-text .section-label {
    text-align: left;
    margin-bottom: 0.75rem;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-text .section-description {
    text-align: left;
    max-width: none;
    margin: 0 0 2rem 0;
}

.about-features {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-item i {
    color: #e74c3c;
    font-size: 1.1rem;
    width: 20px;
    flex-shrink: 0;
}

.feature-item span {
    font-weight: 500;
    color: #ffffff;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 630px;
    object-fit: cover;
    border-radius: 12px;
}

.experience-badge {
    position: absolute;
    top: -1rem;
    right: -1rem;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 8px 30px rgba(231, 76, 60, 0.3);
}

.badge-number {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.badge-text {
    font-size: 0.7rem;
    font-weight: 500;
    line-height: 1.2;
    opacity: 0.9;
}

/* ========================================
   SERVICES SECTION
======================================== */
.services {
    padding: 6rem 0;
    background: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    margin-top: 3rem;
    box-sizing: border-box;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c, #c0392b);
    transition: left 0.3s ease;
}

.service-card:hover::before {
    left: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.service-description {
    color: #7f8c8d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-link {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.service-link:hover {
    gap: 1rem;
    color: #c0392b;
}

/* ========================================
   FEATURED PROJECTS SECTION
======================================== */
.featured-projects {
    padding: 6rem 0;
    background: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    margin-top: 3rem;
    box-sizing: border-box;
}

.project-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-view,
.project-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.project-view:hover,
.project-link:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
    color: white;
}

.project-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-category {
    display: inline-block;
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    width: fit-content;
}

.project-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.project-description {
    color: #7f8c8d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex: 1;
}

.project-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #ecf0f1;
    gap: 1rem;
}

.project-details span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #95a5a6;
    font-size: 0.9rem;
    flex: 1;
}

.project-details i {
    color: #e74c3c;
    width: 16px;
    flex-shrink: 0;
}

/* ========================================
   WHY CHOOSE US SECTION
======================================== */
.why-choose-us {
    padding: 6rem 0;
    background: #f8f9fa;
}

.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.why-text .section-label {
    text-align: left;
}

.why-text .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.advantages-list {
    display: grid;
    gap: 2rem;
}

.advantage-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.advantage-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.advantage-content p {
    color: #7f8c8d;
    line-height: 1.6;
}

.why-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

/* ========================================
   TESTIMONIALS SECTION
======================================== */
.testimonials {
    padding: 6rem 0;
    background: white;
}

.testimonials-slider {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 3rem auto 0;
    box-sizing: border-box;
}

.testimonial-item {
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

.testimonial-item.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.testimonial-content {
    text-align: center;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.stars {
    margin-bottom: 1.5rem;
}

.stars i {
    color: #f39c12;
    font-size: 1.2rem;
    margin: 0 0.1rem;
}

.testimonial-text {
    font-size: 1.1rem;
    color: #2c3e50;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.2rem;
}

.author-info span {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #bdc3c7;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dots .dot.active {
    background: #e74c3c;
    transform: scale(1.3);
}

/* ========================================
   CTA SECTION
======================================== */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    text-align: center;
}

.cta-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    box-sizing: border-box;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.cta-buttons .btn-outline {
    color: white;
    border-color: white;
}

.cta-buttons .btn-outline:hover {
    background: white;
    color: #2c3e50;
}

/* ========================================
   FIXED ELEMENTS
======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
    color: white;
}

.back-to-top {
    position: fixed;
    bottom: 1rem;
    left: 2rem;
    width: 56px;
    height: 56px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

/* ========================================
   ANIMATIONS
======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }

    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

/* Container responsive adjustments */
@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
}

/* Tablet Landscape Container Fix */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .hero-premium .container {
        padding: 0;
        width: 100%;
        max-width: 100%;
    }
}

/* Large Desktop */
@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* Tablet */
@media (max-width: 992px) {

    .about-content,
    .why-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-image {
        height: 200px;
    }

    .project-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-description {
        font-size: 1.1rem;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .project-image {
        height: 180px;
    }

    .project-content {
        padding: 1.5rem;
    }

    .project-title {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {


    .container {
        padding: 0px 0.5rem;
    }
}

/* ========================================
   PREMIUM HERO SLIDER - RESPONSIVE STYLES
======================================== */

/* Extra Large Screens */
@media (min-width: 1400px) {
    .hero-title-premium {
        font-size: 5rem;
    }

    .hero-subtitle-premium {
        font-size: 1.4rem;
    }

    .hero-content-wrapper {
        max-width: 100%;
    }
}

/* Large Tablets & Small Desktops */
@media (max-width: 1199px) {
    .hero-premium {
        min-height: 700px;
    }

    .hero-title-premium {
        font-size: 3.8rem;
    }

    .hero-subtitle-premium {
        font-size: 1.2rem;
    }

    .hero-stats-mini {
        gap: 2rem;
    }

    .hero-navigation {
        padding: 0 1.5rem;
    }

    .nav-btn {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }

    .scroll-indicator {
        right: 2rem;
    }
}

/* Tablets */
@media (max-width: 991px) {
    .hero-premium {
        min-height: 650px;
    }

    .slide-content-premium {
        padding: 1.5rem 15px;
    }

    .hero-title-premium {
        font-size: 3.2rem;
        margin-bottom: 1.2rem;
    }

    .hero-subtitle-premium {
        font-size: 1.1rem;
        max-width: 600px;
        margin-bottom: 2rem;
    }

    .hero-badge-premium {
        padding: 10px 20px;
        font-size: 13px;
        margin-bottom: 1.5rem;
    }

    .hero-stats-mini {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .stat-mini .stat-number {
        font-size: 1.8rem;
    }

    .hero-features-list {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .hero-certifications {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .hero-buttons-premium {
        gap: 1.2rem;
    }

    .btn-hero {
        padding: 14px 28px;
        font-size: 0.95rem;
        min-width: 180px;
    }

    .hero-navigation {
        padding: 0 1rem;
    }

    .nav-btn {
        width: 55px;
        height: 55px;
        font-size: 1.1rem;
    }

    .hero-indicators {
        bottom: 2.5rem;
    }

    .indicator {
        width: 50px;
    }

    .scroll-indicator {
        right: 1.5rem;
        bottom: 1.5rem;
    }

    .scroll-text {
        font-size: 0.8rem;
    }

    .floating-shape.shape-1 {
        width: 150px;
        height: 150px;
    }

    .floating-shape.shape-2 {
        width: 120px;
        height: 120px;
    }
}

/* Large Mobile Devices */
@media (max-width: 767px) {
    .hero-premium {
        min-height: 600px;
    }

    .slide-content-premium {
        padding: 1rem 15px;
    }

    .hero-title-premium {
        font-size: 2.8rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .title-line {
        margin-bottom: 0.2rem;
    }

    .hero-subtitle-premium {
        font-size: 1rem;
        max-width: 500px;
        margin-bottom: 1.8rem;
        line-height: 1.6;
    }

    .hero-badge-premium {
        padding: 8px 16px;
        font-size: 12px;
        gap: 8px;
        margin-bottom: 1.2rem;
    }

    .badge-icon {
        width: 20px;
        height: 20px;
        font-size: 0.8rem;
    }

    .hero-stats-mini {
        gap: 1rem;
        margin-bottom: 1.8rem;
    }

    .stat-mini {
        padding: 0.8rem;
    }

    .stat-mini .stat-number {
        font-size: 1.6rem;
    }

    .stat-mini .stat-label {
        font-size: 0.8rem;
    }

    .hero-features-list {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1.8rem;
    }

    .feature-item {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .hero-certifications {
        gap: 1rem;
        margin-bottom: 1.8rem;
    }

    .cert-item {
        padding: 0.8rem;
        font-size: 0.85rem;
    }

    .cert-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .hero-buttons-premium {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn-hero {
        padding: 12px 24px;
        font-size: 0.9rem;
        min-width: 200px;
        width: 100%;
        max-width: 280px;
    }

    .btn-content {
        gap: 0.6rem;
    }

    .hero-navigation {
        display: none;
        /* Hide navigation buttons on mobile */
    }

    .hero-indicators {
        bottom: 2rem;
        gap: 0.8rem;
    }

    .indicator {
        width: 40px;
        height: 3px;
    }

    .scroll-indicator {
        display: none;
        /* Hide scroll indicator on mobile */
    }

    .floating-shape {
        display: none;
        /* Hide floating shapes on mobile for better performance */
    }
}

/* Small Mobile Devices */
@media (max-width: 575px) {
    .hero-premium {
        min-height: 550px;
    }

    .hero-title-premium {
        font-size: 2.4rem;
    }

    .hero-subtitle-premium {
        font-size: 0.95rem;
        max-width: 400px;
    }

    .hero-stats-mini {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .stat-mini {
        min-width: 120px;
    }

    .hero-buttons-premium .btn-hero {
        min-width: 180px;
        padding: 10px 20px;
    }

    .hero-indicators {
        bottom: 1.5rem;
    }

    .indicator {
        width: 35px;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .hero-premium {
        min-height: 500px;
    }

    .hero-title-premium {
        font-size: 2rem;
    }

    .hero-subtitle-premium {
        font-size: 0.9rem;
        max-width: 350px;
    }

    .hero-badge-premium {
        font-size: 11px;
        padding: 6px 12px;
    }

    .stat-mini .stat-number {
        font-size: 1.4rem;
    }

    .hero-buttons-premium .btn-hero {
        font-size: 0.85rem;
        min-width: 160px;
    }

    .hero-indicators {
        gap: 0.6rem;
    }

    .indicator {
        width: 30px;
    }
}

/* Landscape Mobile Orientation */
@media (max-height: 480px) and (orientation: landscape) {
    .hero-premium {
        min-height: 450px;
        width: 100vw;
        position: relative;
        left: 0;
        right: 0;
        margin: 0;
    }

    .slide-content-premium {
        padding: 0.5rem 0;
        width: 100%;
        max-width: 100vw;
        margin: 0;
        left: 0;
        transform: none;
    }

    .hero-content-wrapper {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 1rem;
    }

    .hero-title-premium {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .hero-subtitle-premium {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }

    .hero-badge-premium {
        margin-bottom: 0.8rem;
    }

    .hero-stats-mini,
    .hero-features-list,
    .hero-certifications {
        margin-bottom: 1.2rem;
    }

    .hero-buttons-premium {
        flex-direction: row;
        gap: 0.8rem;
    }

    .btn-hero {
        padding: 8px 16px;
        font-size: 0.8rem;
        min-width: 140px;
    }

    .hero-indicators {
        bottom: 1rem;
    }
}

/* Tablet Landscape Mode Fix */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .hero-premium {
        width: 100vw;
        min-height: 100vh;
        position: relative;
        left: 0;
        right: 0;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    .hero-slider-premium {
        width: 100vw;
        left: 0;
        right: 0;
        margin: 0;
        padding: 0;
    }

    .hero-slide {
        width: 100vw;
        left: 0;
        right: 0;
        margin: 0;
        padding: 0;
    }

    .slide-content-premium {
        width: 100%;
        max-width: 100vw;
        padding: 2rem 0;
        margin: 0;
        left: 0;
        transform: none;
        box-sizing: border-box;
    }

    .hero-content-wrapper {
        width: 100%;
        max-width: 90%;
        margin: 0 auto;
        padding: 0 2rem;
        box-sizing: border-box;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
    }

    .hero-title-premium {
        font-size: 3.5rem;
    }

    .hero-subtitle-premium {
        font-size: 1.1rem;
        max-width: 80%;
        margin: 0 auto 2rem auto;
    }

    .hero-navigation {
        padding: 0 2rem;
    }

    .scroll-indicator {
        right: 2rem;
    }
}

/* High DPI / Retina Display Optimization */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .hero-slide {
        background-size: cover;
        background-position: center center;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Mobile Background Fix - iOS Safari */
@media (max-width: 768px) {
    .hero-slide {
        background-attachment: scroll !important;
        background-size: cover;
        background-position: center center;
        min-height: 100vh;
        height: 100vh;
        /* Mobile specific optimizations */
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    .hero-premium {
        min-height: 100vh;
        height: 100vh;
        -webkit-overflow-scrolling: touch;
    }
}

/* Specific optimizations for different screen ratios */
/* Ultra Wide Desktop (21:9, 32:9) */
@media (min-width: 2560px) and (min-aspect-ratio: 21/9) {
    .hero-slide {
        background-position: center center;
        background-size: cover;
        background-attachment: fixed;
        width: 100vw !important;
        height: calc(100vh - var(--header-height, 80px) - var(--top-bar-height, 50px)) !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        /* Prevent over-zooming on ultra wide */
        transform: scale(1.0) !important;
        max-width: none !important;
    }

    .hero-slide.active {
        transform: scale(1.0) !important;
    }

    .hero-premium {
        width: 100vw !important;
        height: calc(100vh - var(--header-height, 80px) - var(--top-bar-height, 50px)) !important;
        max-width: none !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .hero-slider-premium {
        width: 100vw !important;
        height: calc(100vh - var(--header-height, 80px) - var(--top-bar-height, 50px)) !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .slide-content-premium {
        width: 100vw !important;
        max-width: none !important;
        padding: 2rem 5rem !important;
    }

    .hero-content-wrapper {
        max-width: 1200px !important;
        margin: 0 auto !important;
    }
}

/* 4K and above */
@media (min-width: 3840px) {
    .hero-slide {
        background-size: cover;
        background-position: center center;
        image-rendering: auto;
        image-rendering: crisp-edges;
    }
}

/* Tablet specific */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero-slide {
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
    }
}

/* Small mobile phones */
@media (max-width: 480px) {
    .hero-slide {
        background-size: cover;
        background-position: center center;
        background-attachment: scroll;
        /* Force GPU acceleration on small devices */
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

    .hero-slide,
    .badge-glow,
    .btn-shine,
    .nav-btn-ripple,
    .floating-shape,
    .scroll-line::after,
    .scroll-text i {
        animation: none !important;
        transition: none !important;
    }

    .hero-slide {
        transition: opacity 0.3s ease;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .hero-slide::before {
        background: linear-gradient(135deg,
                rgba(18, 25, 33, 0.8) 0%,
                rgba(33, 47, 61, 0.7) 50%,
                rgba(231, 76, 60, 0.4) 100%);
    }
}

/* Print Styles */
@media print {
    .hero-premium {
        height: 400px;
        min-height: 400px;
        background: #f8f9fa !important;
        color: #000 !important;
    }

    .hero-navigation,
    .hero-indicators,
    .scroll-indicator,
    .floating-shape {
        display: none !important;
    }

    .hero-slide::before,
    .slide-overlay {
        display: none !important;
    }

    .hero-title-premium,
    .hero-subtitle-premium {
        color: #000 !important;
        text-shadow: none !important;
    }
}

@media (max-width: 767px) {
    .whatsapp-float {
        display: none !important;
    }
}

/* ========================================
   MODERN CORPORATE REDESIGN STYLES
   Added on 2025-12-26
======================================== */

/* Modern Projects Section Styles */
.featured-projects-modern {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.projects-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.project-card-modern {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card-modern:hover .card-img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card-modern:hover .card-overlay {
    opacity: 1;
}

.btn-view-project {
    background: #fff;
    color: #333;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.project-card-modern:hover .btn-view-project {
    transform: translateY(0);
}

.category-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.card-title a {
    color: #2d3748;
    text-decoration: none;
    transition: color 0.2s;
}

.card-title a:hover {
    color: #e53e3e;
    /* Primary color */
}

.card-desc {
    color: #718096;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.card-meta {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #edf2f7;
    font-size: 0.9rem;
    color: #4a5568;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a5568;
}

.meta-item i {
    color: #e53e3e;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background-color: transparent;
    border: 2px solid #e53e3e;
    color: #e53e3e;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-view-all:hover {
    background-color: #e53e3e;
    color: #fff;
}

@media (max-width: 768px) {
    .projects-grid-modern {
        grid-template-columns: 1fr;
    }
}

/* --- Global Section Styles --- */
.section-padding {
    padding: 6rem 0;
}

.bg-light {
    background-color: #f8f9fa;
}

.bg-white {
    background-color: #ffffff;
}

.section-header-modern {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-label-modern {
    color: #e53e3e;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 1rem;
}

.section-title-modern {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a202c;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.section-desc-modern {
    color: #718096;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* --- About Section Modern --- */
.about-modern {
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.about-img-wrapper:hover .about-img {
    transform: scale(1.05);
}

.exp-badge-modern {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: #e53e3e;
    color: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(229, 62, 62, 0.4);
}

.exp-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    display: block;
}

.exp-text {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
}

.feature-list-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-item-modern {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-icon-box {
    width: 40px;
    height: 40px;
    background: rgba(229, 62, 62, 0.1);
    color: #e53e3e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Stats Section Modern (UPDATED: White Background) --- */
.stats-modern {
    background: #ffffff;
    color: #2d3748;
    padding: 4rem 0;
}

.stats-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card-modern {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 15px;
    transition: transform 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #edf2f7;
}

.stat-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.stat-icon-modern {
    font-size: 2.5rem;
    color: #e53e3e;
    margin-bottom: 1rem;
}

.stat-num-modern {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.stat-label-modern {
    color: #718096;
    font-size: 1rem;
    font-weight: 500;
}

/* --- Services Section Modern --- */
.services-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card-modern {
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border-bottom: 4px solid transparent;
}

.service-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-bottom-color: #e53e3e;
}

.service-icon-modern {
    width: 70px;
    height: 70px;
    background: #fff5f5;
    color: #e53e3e;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s;
}

.service-card-modern:hover .service-icon-modern {
    background: #e53e3e;
    color: #fff;
}

.service-title-modern {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2d3748;
}

.service-desc-modern {
    color: #718096;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-link-modern {
    color: #e53e3e;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.service-link-modern:hover {
    gap: 1rem;
}

/* --- Why Choose Us Modern --- */
.why-modern {
    background: #fff;
}

.why-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.why-item-modern {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 12px;
    transition: background 0.3s;
}

.why-item-modern:hover {
    background: #f7fafc;
}

.why-icon-modern {
    width: 60px;
    height: 60px;
    background: #e53e3e;
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(229, 62, 62, 0.3);
}

.why-content-modern h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.why-content-modern p {
    color: #718096;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* --- Testimonials Modern --- */
.testimonials-modern {
    background: #f8f9fa;
    position: relative;
}

.testimonial-card-modern {
    background: #fff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.quote-icon {
    font-size: 4rem;
    color: #e2e8f0;
    position: absolute;
    top: 20px;
    left: 30px;
    opacity: 0.5;
}

.test-text-modern {
    font-size: 1.2rem;
    color: #4a5568;
    font-style: italic;
    line-height: 1.8;
    margin: 1.5rem 0;
}

.test-author-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.author-img-modern {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e53e3e;
}

.author-info-modern h4 {
    font-weight: 700;
    color: #2d3748;
    margin: 0;
}

.author-info-modern span {
    color: #e53e3e;
    font-size: 0.9rem;
    font-weight: 500;
}

/* --- CTA Modern --- */
.cta-modern {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    padding: 5rem 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iMiIgY3k9IjIiIHI9IjIiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4wNSkiLz48L3N2Zz4=');
    opacity: 0.3;
}

.cta-title-modern {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta-desc-modern {
    font-size: 1.2rem;
    color: #cbd5e0;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.btn-cta-primary {
    background: #e53e3e;
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    box-shadow: 0 10px 20px rgba(229, 62, 62, 0.4);
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(229, 62, 62, 0.5);
    color: #fff;
}

.btn-cta-outline {
    background: transparent;
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-left: 1rem;
}

.btn-cta-outline:hover {
    background: #fff;
    color: #1a202c;
    border-color: #fff;
}

@media (max-width: 992px) {

    .about-grid,
    .stats-grid-modern {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-title-modern {
        font-size: 2rem;
    }

    .cta-title-modern {
        font-size: 2rem;
    }

    .btn-cta-outline {
        margin-left: 0;
        margin-top: 1rem;
    }

    .stats-grid-modern {
        grid-template-columns: 1fr;
    }
}