/* ========================================
   AMATLA Consulting Engineers Website
   Primary Color: Blue (#1E3A8A)
   Secondary Color: Orange (#F97316)
   Fonts: Poppins (headings), Montserrat (body)
   ======================================== */

/* CSS Variables */
:root {
    --primary-color: #01346D;
    --primary-dark: #012A5A;
    --primary-light: #1A5A9E;
    --secondary-color: #BB5F20;
    --secondary-dark: #A0501A;
    --secondary-light: #D07030;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --text-white: #FFFFFF;
    --bg-white: #FFFFFF;
    --bg-light: #F3F4F6;
    --bg-dark: #111827;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --border-radius-lg: 12px;
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Padding */
.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--primary-color);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header.reveal-header {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-header.reveal-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-header.reveal-header .section-tag {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

.section-header.reveal-header.visible .section-tag {
    opacity: 1;
    transform: translateY(0);
}

.section-header.reveal-header .section-title {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.4s;
}

.section-header.reveal-header.visible .section-title {
    opacity: 1;
    transform: translateY(0);
}

.section-header.reveal-header .section-subtitle {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.6s;
}

.section-header.reveal-header.visible .section-subtitle {
    opacity: 1;
    transform: translateY(0);
}

.services .section-header .section-tag {
    color: var(--secondary-color);
}

.services .section-header .section-title,
.services .section-header .section-subtitle {
    color: var(--text-white);
}

.accreditations .section-header .section-tag {
    color: var(--secondary-color);
}

.accreditations .section-header .section-title,
.accreditations .section-header .section-subtitle {
    color: var(--text-white);
}

.section-tag {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-cta {
    text-align: center;
    margin-top: 40px;
}

/* Buttons */
.btn {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn::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: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    animation: pulse-glow 2s ease-in-out infinite;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 50%, var(--primary-dark) 100%);
    color: var(--text-white);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(1, 52, 109, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
    box-shadow: 0 8px 25px rgba(1, 52, 109, 0.5);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary-color) 50%, var(--secondary-dark) 100%);
    color: var(--text-white);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(187, 95, 32, 0.4);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary-color) 50%, var(--secondary-light) 100%);
    box-shadow: 0 8px 25px rgba(187, 95, 32, 0.5);
}

.btn-secondary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.logo img {
    height: 75px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--text-dark);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('Images/Header.png') center/cover no-repeat;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.85) 0%, rgba(17, 24, 39, 0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInScale 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-title {
    animation: fadeInUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.hero-subtitle {
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

.hero-buttons {
    animation: fadeInUp 1s ease forwards;
    animation-delay: 1.2s;
    opacity: 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
}

.hero-text {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    color: var(--text-white);
}

.hero-scroll span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    margin: 0 auto;
    position: relative;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 2px;
    animation: scrollBounce 2s infinite;
}

/* About Preview Section - Modern Design */
.about-modern-three-col {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr;
    gap: 50px;
    align-items: stretch;
}

.about-left-content {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about-left-content.visible {
    opacity: 1;
    transform: translateX(0);
}

.about-right-content {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about-right-content.visible {
    opacity: 1;
    transform: translateX(0);
}

.about-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-image-frame {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
    flex: 1;
    display: flex;
}

.about-image-frame:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.3);
}

.experience-badge {
    animation: float 4s ease-in-out infinite;
}

.about-floating-card {
    animation: float 4s ease-in-out infinite;
    animation-delay: 2s;
}

.about-image-frame img {
    width: 100%;
    min-height: 450px;
    max-height: 500px;
    object-fit: cover;
}

.about-image-frame:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    color: var(--text-white);
    padding: 20px 25px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(187, 95, 32, 0.4);
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

.exp-number {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.exp-text {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.9;
    margin-top: 5px;
}

.about-floating-card {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--bg-white);
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float 3s ease-in-out infinite;
    animation-delay: 1.5s;
}

.floating-icon {
    font-size: 2rem;
}

.floating-number {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.floating-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
}

.about-features-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 15px 35px rgba(1, 52, 109, 0.3);
}

.about-features-box h3 {
    color: var(--text-white);
    font-size: 1.25rem;
    margin-bottom: 20px;
    text-align: center;
}

.about-features-box .about-features {
    margin-bottom: 0;
}

.about-features-box .feature-item {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-white);
}

.about-features-box .feature-item span {
    color: var(--text-white);
}

.about-features-box .feature-dot {
    background: var(--secondary-color);
}

.about-mission {
    background: var(--bg-light);
    border-radius: 15px;
    padding: 25px;
    border-left: 4px solid var(--secondary-color);
}

.about-mission p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

.about-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 15px 0 25px;
    line-height: 1.2;
}

.about-story {
    margin-bottom: 30px;
}

.story-lead {
    font-size: 1.125rem;
    color: var(--text-dark);
    font-weight: 400;
    margin-bottom: 15px;
    line-height: 1.7;
}

.about-story p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.7;
}

.about-story strong {
    color: var(--primary-color);
    font-weight: 600;
}

.highlight-text {
    background: linear-gradient(120deg, rgba(187, 95, 32, 0.2) 0%, rgba(187, 95, 32, 0.2) 100%);
    background-repeat: no-repeat;
    background-size: 100% 40%;
    background-position: 0 88%;
    padding: 0 4px;
    font-weight: 500;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: var(--bg-light);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: var(--primary-color);
    transform: translateX(5px);
}

.feature-item:hover span {
    color: var(--text-white);
}

.feature-dot {
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
}

.feature-item span {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

/* Services Section */
.services {
    position: relative;
    overflow: hidden;
}

.services-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('Images/backround.jpg') center/cover no-repeat fixed;
}

.services-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(1, 52, 109, 0.35) 0%, rgba(1, 42, 90, 0.40) 100%);
}

.services .container {
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 50px 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-20px) scale(1.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.3);
    border-color: var(--secondary-color);
}

.service-card:hover .service-icon {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: scale(1.1) rotate(5deg);
}

.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::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: left 0.7s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card h3 {
    color: var(--text-white);
    font-size: 1.25rem;
    margin-top: 20px;
}

.service-card .service-icon {
    background: rgba(255, 255, 255, 0.2);
}

.service-card .service-icon svg {
    color: var(--text-white);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: float 3s ease-in-out infinite;
}

.service-icon svg {
    width: 32px;
    height: 32px;
    color: var(--text-white);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.service-card:nth-child(2) .service-icon {
    animation-delay: 0.5s;
}

.service-card:nth-child(3) .service-icon {
    animation-delay: 1s;
}

.service-card:nth-child(4) .service-icon {
    animation-delay: 1.5s;
}

.service-card:hover .service-icon {
    background-color: var(--secondary-color);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    color: var(--text-white);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-card ul {
    text-align: left;
}

.service-card li {
    font-size: 0.9375rem;
    color: var(--text-light);
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 20px;
}

.service-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--secondary-color);
    border-radius: 50%;
}

.service-card li:last-child {
    border-bottom: none;
}

/* Projects Section */
.projects {
    position: relative;
    overflow: hidden;
}

.projects-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('Images/architecure backround.png') center/cover no-repeat;
}

.projects-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.92);
}

.projects .container {
    position: relative;
    z-index: 2;
}

.projects-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.project-card-compact {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: var(--border-radius-lg);
    padding: 35px 30px;
    box-shadow: 0 4px 20px rgba(1, 52, 109, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(30px);
    border-top: 4px solid transparent;
    text-align: center;
}

.project-card-compact.visible {
    opacity: 1;
    transform: translateY(0);
}

.project-card-compact:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px rgba(1, 52, 109, 0.4);
    border-top-color: var(--secondary-color);
}

.project-card-compact {
    position: relative;
    overflow: hidden;
}

.project-card-compact::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.project-card-compact:hover::after {
    opacity: 1;
}

.project-value-tag {
    position: relative;
    overflow: hidden;
}

.project-value-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 3s infinite;
}

.project-value-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    color: var(--text-white);
    padding: 8px 20px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    margin: 10px 0 15px;
    box-shadow: 0 4px 15px rgba(187, 95, 32, 0.4);
}

.project-card-compact h3 {
    font-size: 1.375rem;
    color: var(--text-white);
    margin-bottom: 5px;
}

.project-card-compact p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* Accreditations Section */
.accreditations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.accreditation-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: scale(0.8);
}

.accreditation-card.visible {
    opacity: 1;
    transform: scale(1);
}

.accreditation-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-15px) scale(1.08);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(187, 95, 32, 0.8);
}

.accreditation-card img {
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.accreditation-card:hover img {
    transform: scale(1.1);
}

.accreditation-card img {
    height: 80px;
    width: auto;
    margin: 0 auto 20px;
    object-fit: contain;
}

.accreditation-card h4 {
    color: var(--text-white);
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.accreditation-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

.accreditation-note {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.accreditation-note p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.accreditation-note strong {
    color: var(--secondary-color);
}

/* CTA Section */
.cta {
    background: var(--bg-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('Images/building-new-concrete-houses (1).jpg') center/cover no-repeat fixed;
}

.cta-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(243, 244, 246, 0.92);
}

.cta .container {
    position: relative;
    z-index: 2;
}



.cta-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 60px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.cta-content h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    color: var(--text-light);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo-block {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    margin-bottom: 20px;
    display: inline-block;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-logo-block:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.footer-logo {
    height: 120px;
    width: auto;
    display: block;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer h4 {
    color: var(--text-white);
    font-size: 1.125rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    transition: var(--transition);
}

.footer ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(187, 95, 32, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(187, 95, 32, 0.7);
    }
}

@keyframes reveal-text {
    from {
        clip-path: inset(0 100% 0 0);
    }
    to {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-content {
        padding: 30px;
        margin: 0 20px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cta-content {
        padding: 40px 20px;
        margin: 0 20px;
    }
    
    /* Mobile Navigation */
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 100px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        transform: translateY(-150%);
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        z-index: 999;
        border-bottom-left-radius: var(--border-radius-lg);
        border-bottom-right-radius: var(--border-radius-lg);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-menu li {
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        display: block;
        padding: 15px 0;
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    /* About Section */
    .about-modern-three-col {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-visual {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-image-frame {
        transform: none;
    }
    
    .experience-badge {
        right: 10px;
        bottom: 10px;
        padding: 15px 20px;
    }
    
    .exp-number {
        font-size: 2rem;
    }
    
    .about-floating-card {
        left: 10px;
        top: 10px;
        padding: 12px 15px;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .about-left-content,
    .about-right-content {
        max-width: 500px;
        margin: 0 auto;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Projects */
    .projects-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Accreditations */
    .accreditations-grid {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Hero Buttons */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .about-title {
        font-size: 1.75rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .experience-badge {
        padding: 15px 20px;
    }
    
    .exp-number {
        font-size: 2rem;
    }
    
    .about-floating-card {
        padding: 15px 20px;
    }
}
