/* Reset and Base Styles */

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #ffffff;
    overflow-x: hidden;
}


/* Color Variables */

:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: BLUE;
    --light-blue: #dbeafe;
    --primary-yellow: #fbbf24;
    --secondary-yellow: #f59e0b;
    --light-yellow: #fef3c7;
    --white: #ffffff;
    --gray-light: #f8fafc;
    --gray-medium: #64748b;
    --gray-dark: #334155;
    --text-dark: #1e293b;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.2);
}


/* Hero Section */

.hero-section {
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 50%, var(--primary-yellow) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 138, 0.8);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

.company-logo {
    margin-bottom: 2rem;
}

.company-logo i {
    font-size: 4rem;
    color: var(--primary-yellow);
    margin-bottom: 1rem;
    display: block;
    animation: bounce 2s infinite;
}

.company-logo h1 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 0.8rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--light-yellow);
    font-weight: 300;
}

.hero-location {
    font-size: 1rem;
    margin-bottom: 2.5rem;
    color: var(--white);
}

.hero-location i {
    color: var(--primary-yellow);
    margin-right: 0.5rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    min-width: 120px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-yellow);
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1rem;
    color: var(--light-blue);
    font-weight: 400;
}

.hero-contact {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-item i {
    color: var(--primary-yellow);
    font-size: 1.2rem;
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-yellow);
}

.hero-actions {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.download-btn {
    background: linear-gradient(135deg, var(--primary-yellow), var(--secondary-yellow));
    color: var(--primary-blue);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
    background: linear-gradient(135deg, var(--secondary-yellow), var(--primary-yellow));
}

.download-btn i {
    font-size: 1rem;
}


/* Project Previews Section */

.project-previews {
    background: linear-gradient(135deg, var(--gray-light) 0%, var(--white) 100%);
    padding: 4rem 0;
}

.previews-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.previews-container h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.previews-subtitle {
    font-size: 1.3rem;
    color: var(--gray-medium);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.preview-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.preview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px var(--shadow-dark);
    border-color: var(--primary-yellow);
}

.preview-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.preview-card:hover .preview-image img {
    transform: scale(1.1);
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 138, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: var(--white);
}

.preview-card:hover .preview-overlay {
    opacity: 1;
}

.preview-overlay i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-yellow);
}

.preview-overlay span {
    font-size: 1.1rem;
    font-weight: 600;
}

.preview-content {
    padding: 1.5rem;
    text-align: left;
}

.preview-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.preview-content h3 i {
    color: var(--primary-yellow);
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.preview-content p {
    color: var(--gray-medium);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.preview-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--gray-dark);
}

.preview-stats span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.preview-stats i {
    color: var(--secondary-blue);
    font-size: 0.8rem;
}


/* Projects Container */

.projects-container {
    background-color: var(--white);
    min-height: 100vh;
    padding: 4rem 0;
}


/* Project Sections */

.project-section {
    max-width: 1200px;
    margin: 0 auto 6rem auto;
    padding: 0 2rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.project-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    position: relative;
}

.section-header h2 i {
    color: var(--primary-yellow);
    margin-right: 1rem;
    font-size: 2.2rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--gray-medium);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-yellow), var(--secondary-yellow));
    border-radius: 2px;
}


/* Subsections */

.subsection {
    margin-bottom: 4rem;
}

.subsection h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--secondary-blue);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
}

.subsection h3 i {
    color: var(--primary-yellow);
    margin-right: 1rem;
    font-size: 1.8rem;
}


/* Image Grid */

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.image-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px var(--shadow);
    transition: all 0.4s ease;
    cursor: pointer;
    background: var(--white);
}

.image-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px var(--shadow-dark);
}

.image-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.image-item:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    background: rgba(30, 58, 138, 0.9);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.image-item:hover .image-overlay {
    opacity: 1;
}

.image-overlay i {
    color: var(--primary-yellow);
    font-size: 3rem;
    animation: pulse 1.5s infinite;
}


/* Gallery Modal */

.gallery-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.gallery-modal.active {
    display: block;
}

.gallery-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.gallery-close {
    position: absolute;
    top: 2rem;
    right: 3rem;
    color: var(--white);
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease;
}

.gallery-close:hover {
    color: var(--primary-yellow);
}

.gallery-container {
    position: relative;
    max-width: 90%;
    max-height: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#galleryImage {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    font-size: 2rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 1001;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: var(--primary-yellow);
    color: var(--primary-blue);
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: -5rem;
}

.gallery-next {
    right: -5rem;
}

.gallery-caption {
    margin-top: 2rem;
    text-align: center;
    color: var(--white);
}

#galleryCaption {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: block;
}

.gallery-counter {
    font-size: 1rem;
    color: var(--light-blue);
}

.gallery-thumbnails {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
    max-width: 100%;
}

.gallery-thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    border: 3px solid transparent;
}

.gallery-thumbnail.active,
.gallery-thumbnail:hover {
    opacity: 1;
    border-color: var(--primary-yellow);
}


/* Footer Section */


/* Scroll to Top Button */

.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--primary-yellow);
    color: var(--primary-blue);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 8px 25px var(--shadow);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--secondary-blue);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px var(--shadow-dark);
}


/* Animations */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}


/* Responsive Design */

@media (max-width: 768px) {
    .company-logo h1 {
        font-size: 2.2rem;
    }
    .previews-container h2 {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
    .hero-stats {
        gap: 2rem;
    }
    .hero-contact {
        gap: 1.5rem;
        flex-direction: column;
        align-items: center;
    }
    .previews-container h2 {
        font-size: 2.5rem;
    }
    .preview-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .preview-card {
        max-width: 400px;
        margin: 0 auto;
    }
    .stat-number {
        font-size: 2rem;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .subsection h3 {
        font-size: 1.5rem;
    }
    .image-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    .image-item img {
        height: 200px;
    }
    .gallery-prev {
        left: 1rem;
    }
    .gallery-next {
        right: 1rem;
    }
    .gallery-close {
        top: 1rem;
        right: 1rem;
        font-size: 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 0 1rem;
    }
    .company-logo h1 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    .previews-container h2 {
        font-size: 2rem;
    }
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    .hero-contact {
        flex-direction: column;
        gap: 1rem;
    }
    .download-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    .download-notification {
        right: 1rem;
        left: 1rem;
        transform: translateY(-100px);
    }
    .download-notification.show {
        transform: translateY(0);
    }
    .projects-container {
        padding: 2rem 0;
    }
    .project-section {
        padding: 0 1rem;
        margin-bottom: 4rem;
    }
    .image-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .gallery-modal-content {
        padding: 1rem;
    }
    .gallery-thumbnails {
        flex-wrap: wrap;
        justify-content: center;
    }
}


/* Loading Animation */

.loading {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid var(--light-blue);
    border-radius: 50%;
    border-top-color: var(--primary-yellow);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* Download Notification */

.download-notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, var(--primary-yellow), var(--secondary-yellow));
    color: var(--primary-blue);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.4);
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.download-notification.show {
    transform: translateX(0);
}

.download-notification i {
    color: var(--primary-blue);
    font-size: 1.2rem;
}


/* Professional Highlighting Animations */

.transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    opacity: 0;
    z-index: 9999;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.transition-overlay.active {
    opacity: 0.8;
}

.section-highlighted {
    position: relative;
    background: linear-gradient(135deg, var(--light-blue), var(--white));
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.3);
    animation: sectionHighlight 0.8s ease-out;
}

.section-highlighted::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-yellow), var(--secondary-yellow), var(--primary-blue), var(--secondary-blue));
    border-radius: 22px;
    z-index: -1;
    animation: borderGlow 2s linear infinite;
}

.preview-loading {
    transform: scale(0.95);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.highlight-reveal {
    animation: revealImage 0.6s ease-out forwards;
    transform: translateY(20px);
    opacity: 0;
}

@keyframes sectionHighlight {
    0% {
        transform: scale(0.95);
        opacity: 0;
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes borderGlow {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes revealImage {
    0% {
        transform: translateY(20px) scale(0.9);
        opacity: 0;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}


/* Image Loading State */

.image-item.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid var(--light-blue);
    border-radius: 50%;
    border-top-color: var(--primary-yellow);
    animation: spin 1s ease-in-out infinite;
}


/* Smooth scrolling */

html {
    scroll-behavior: smooth;
}


/* Custom scrollbar */

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--gray-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-yellow);
}