/* CSS Variables */
:root {
    --primary-color: #ff9900;
    --primary-dark: #e68a00;
    --secondary-color: #1a1a1a;
    --text-color: #333;
    --text-light: #666;
    --background-color: #f8f8f8;
    --white: #fff;
    --black: #000;
    --gradient-1: linear-gradient(135deg, #ff9900 0%, #ff6b00 100%);
    --gradient-2: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
    --shadow-md: 0 5px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

header.scrolled {
    background: rgba(26, 26, 26, 0.98);
    box-shadow: 0 5px 30px rgba(0,0,0,0.2);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 50px;
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.05);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.main-nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: var(--transition);
}

.main-nav ul li a:hover {
    color: var(--primary-color);
}

.main-nav ul li a:hover::after {
    width: 100%;
}

.toggle-button {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.toggle-button span {
    width: 100%;
    height: 3px;
    background-color: var(--white);
    transition: var(--transition);
    border-radius: 3px;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('img/av1-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, transparent, var(--white));
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,40,80,0.85) 0%, rgba(20,50,90,0.75) 50%, rgba(30,60,100,0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding-top: 60px;
    width: 100%;
}

.hero-title {
    font-size: 3.5em;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 5px 30px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease-out;
    letter-spacing: -1px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.2em;
    margin-bottom: 35px;
    color: rgba(255,255,255,0.95);
    font-weight: 300;
    letter-spacing: 0.5px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 60px;
    max-width: 950px;
    width: 100%;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 50px;
    }
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.15);
    transition: var(--transition);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.stat-item:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-10px);
    border-color: rgba(255,153,0,0.4);
}

.stat-number {
    font-size: 3em;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 8px;
    line-height: 1;
    text-shadow: 0 2px 20px rgba(255,153,0,0.5);
}

.stat-label {
    font-size: 0.85em;
    color: rgba(255,255,255,0.9);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 400;
}

.btn-primary {
    display: inline-block;
    padding: 18px 45px;
    background: var(--gradient-1);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(255,153,0,0.3);
    position: relative;
    overflow: hidden;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(255,153,0,0.3);
    }
    50% {
        box-shadow: 0 10px 40px rgba(255,153,0,0.5);
    }
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: var(--transition);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255,153,0,0.5);
    animation: none;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 20% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(15px);
        opacity: 0;
    }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3em;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.section-line {
    width: 80px;
    height: 4px;
    background: var(--gradient-1);
    margin: 0 auto;
    border-radius: 2px;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--white);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.service-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: 700;
    color: var(--white);
    z-index: 10;
    box-shadow: 0 5px 20px rgba(255,153,0,0.4);
}

.service-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 1.6em;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.service-content ul {
    list-style: none;
    padding: 0;
}

.service-content ul li {
    padding: 12px 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.service-content ul li:last-child {
    border-bottom: none;
}

.service-content ul li i {
    color: var(--primary-color);
    font-size: 18px;
}

/* Projects Section */
.projects {
    padding: 100px 0;
    background: var(--background-color);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
}

.project-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    animation: float 6s ease-in-out infinite;
}

.project-card:nth-child(even) {
    animation-delay: 1s;
}

.project-card:nth-child(3n) {
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.project-card:hover {
    transform: translateY(-20px) !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    animation: none;
}

.project-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.15);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255,153,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-info i {
    font-size: 3em;
    color: var(--white);
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.project-content p {
    color: var(--text-light);
    font-size: 0.95em;
}

/* Location Section */
.location-section {
    padding: 100px 0;
    background: var(--white);
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--background-color);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.info-item {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,153,0,0.1), transparent);
    transition: var(--transition);
}

.info-item:hover::before {
    left: 100%;
}

.info-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-md);
}

.info-item i {
    font-size: 2.5em;
    color: var(--primary-color);
    transition: var(--transition);
}

.info-item:hover i {
    transform: scale(1.1) rotate(5deg);
}

.info-item label {
    display: block;
    font-size: 0.85em;
    color: var(--text-light);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-item p {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--secondary-color);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--white);
}

.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: var(--background-color);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 0.85em;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    font-size: 15px;
    border: 2px solid transparent;
    border-radius: 10px;
    background: var(--white);
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255,153,0,0.1);
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background: var(--gradient-1);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,153,0,0.3);
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.4em;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-section p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    margin-bottom: 15px;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-list li i {
    color: var(--primary-color);
    width: 20px;
}

.contact-list a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}

.contact-list a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.copyright p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .toggle-button {
        display: flex;
    }

    .main-nav {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(26,26,26,0.98);
        backdrop-filter: blur(10px);
        z-index: 999;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav ul li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .main-nav ul li a {
        display: block;
        padding: 20px;
        text-align: center;
    }

    .toggle-button.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .toggle-button.active span:nth-child(2) {
        opacity: 0;
    }

    .toggle-button.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content {
        padding-top: 140px;
    }

    .hero-title {
        font-size: 2em;
        letter-spacing: -0.5px;
    }

    .hero-subtitle {
        font-size: 0.95em;
    }
    
    .stat-number {
        font-size: 2.5em;
    }
    
    .btn-primary {
        padding: 14px 35px;
        font-size: 14px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 35px;
    }

    .section-header h2 {
        font-size: 2em;
    }

    .service-grid,
    .project-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding-top: 130px;
    }
    
    .hero-title {
        font-size: 1.8em;
        letter-spacing: -0.5px;
    }

    .hero-subtitle {
        font-size: 0.9em;
    }

    .btn-primary {
        padding: 13px 30px;
        font-size: 13px;
    }
    
    .stat-number {
        font-size: 2.2em;
    }
    
    .stat-label {
        font-size: 0.75em;
    }
    
    .stat-item {
        padding: 25px 15px;
    }
}