/* Base Styles */


    .font-medium {
        font-family: 'Gazpacho Thin', Arial, sans-serif;
        font-weight: bold;
    }

    .font-extrabold,
    .font-bold {
        font-family: 'Gazpacho Thin', Arial, sans-serif;
        font-weight: bold;
    }
.service-card {
        border-radius: 0.5rem;
        overflow: hidden;
        transition: all 0.3s ease;
        
        /* Responsive font size */
        font-size: clamp(1rem, 2.5vw, 1.5rem); 
    }
    
html {
    scroll-behavior: smooth;
}
/* Removed Gotham font-face and usage, using Gazpacho Thin bold for headings and body */
body {
    overflow-x: hidden;
    position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #F44B12;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d43e0f;
}

/* Moving Background Effect */
.moving-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, rgba(244, 75, 18, 0.03) 0%, rgba(255, 255, 255, 0) 50%, rgba(43, 43, 42, 0.03) 100%);
    filter: blur(100px);
    pointer-events: none;
    transform-origin: center;
    animation: move-bg 15s ease-in-out infinite alternate;
}

@keyframes move-bg {
    0% {
        transform: scale(1) translate(-5%, -5%);
    }
    50% {
        transform: scale(1.05) translate(5%, 5%);
    }
    100% {
        transform: scale(1) translate(-5%, -5%);
    }
}

/* Button Styles */
.btn-primary {
    background-color: #F44B12;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #d43e0f;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: #2B2B2A;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #3e3e3d;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Section Spacing */
.section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

/* Card hover effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Service Card */
.service-card {
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card:hover .service-icon {
    color: #F44B12;
    transform: scale(1.2);
}

.service-icon {
    transition: all 0.3s ease;
}

/* Team Member Card */
.team-card {
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-card:hover .team-img img {
    transform: scale(1.05);
}

.team-img img {
    transition: all 0.3s ease;
}

/* Portfolio Item */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

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

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(244, 75, 18, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-item img {
    transition: all 0.3s ease;
}

/* Premium Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-in-out;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-in-out;
}

.animate-slide-right {
    animation: slideRight 0.8s ease-in-out;
}

.animate-fade-in-right {
    animation: fadeInRight 1s ease-out forwards;
    opacity: 0;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float 3s ease-in-out infinite;
    animation-delay: 1.5s;
}

.animate-pulse-slow {
    animation: pulseSlow 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Definition of keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes pulseSlow {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 0.5;
    }
}

/* Premium UI Elements */
.btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.btn-premium:hover::before {
    left: 100%;
}

.btn-premium-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Hero Section */
.hero-section {
    margin-top: 0; /* Ensures no extra spacing */
    padding-top: 0; /* Removes any top padding */
    
    position: relative;
    min-height: 80vh; /* Adjusted for a balanced fit */
    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: wrap; /* Helps maintain responsiveness */
}


.hero-content,
.hero-media {
    position: relative;
    z-index: 1;
}

/* Enhanced Video Controls */
.play-btn {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.play-btn:hover {
    transform: scale(1.1);
}

/* Counter Animation */
#counter-projects,
#counter-clients,
#counter-years {
    display: inline-block;
    position: relative;
}

/* Admin Styles */
.admin-link {
    color: #2B2B2A;
    text-decoration: none;
    transition: color 0.3s ease;
}

.admin-link:hover {
    color: #F44B12;
}

/* Form Styles */
.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

    .form-input:focus {
        outline: none;
        border-color: #F44B12;
        box-shadow: 0 0 0 3px rgba(244, 75, 18, 0.2);
    }

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* Portfolio Grid Layout */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* For smaller screens */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .section-padding {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

/* Admin Dashboard Styles */
.admin-card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.admin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.admin-stat {
    font-size: 2rem;
    font-weight: 700;
    color: #F44B12;
}

/* Responsive Video Container */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Admin Table Styles */
.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.admin-table th {
    background-color: #f8fafc;
    font-weight: 600;
}

.admin-table tr:hover {
    background-color: #f1f5f9;
}

/* Admin Action Buttons */
.btn-edit, .btn-delete, .btn-view {
    padding: 0.5rem;
    border-radius: 0.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
}

.btn-edit {
    background-color: #3b82f6;
    color: white;
}

.btn-edit:hover {
    background-color: #2563eb;
}

.btn-delete {
    background-color: #ef4444;
    color: white;
}

.btn-delete:hover {
    background-color: #dc2626;
}

.btn-view {
    background-color: #10b981;
    color: white;
}

.btn-view:hover {
    background-color: #059669;
}

/* Contact Form */
.contact-form {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

/* Portfolio Detail Page */
.portfolio-detail-header {
    position: relative;
    min-height: 60vh;
    background-color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.portfolio-detail-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(43, 43, 42, 0.7), rgba(43, 43, 42, 0.7));
    z-index: 1;
}

.portfolio-detail-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
}

.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .portfolio-gallery {
        grid-template-columns: 1fr;
    }
}

/* Brand Essence Section */
.brand-essence {
    background-color: #f8fafc;
    border-radius: 0.5rem;
    padding: 2rem;
}

/* Main Content */main {
    min-height: calc(100vh - 64px - 250px); /* Reduced footer height for better balance */
    padding-top: 0; /* Removes additional top spacing */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers content properly */
}
