/* CSS Variables for Colors */
:root {
    --teal: #007483;
    --orange: #FF8000;
    --dark-blue: #1A2D80;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #333;
    --white: #ffffff;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    color: var(--dark-blue);
}

h3 {
    font-size: 1.5rem;
    color: var(--teal);
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--orange);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.btn-secondary {
    background-color: var(--teal);
}

.btn-secondary:hover {
    background-color: #005a66;
}

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-blue);
}

.logo span {
    color: var(--orange);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
    position: relative;
    display: flex;
    align-items: center;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
}

nav ul li a:hover {
    color: var(--orange);
}

nav ul li a.active {
    color: var(--orange);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--orange);
    transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

/* Dropdown arrow */
.dropdown-arrow {
    cursor: pointer;
    padding: 0 5px;
    transition: transform 0.3s ease;
    color: var(--dark-gray);
}

.dropdown-arrow.active {
    transform: rotate(180deg);
}

.dropdown-arrow i {
    font-size: 0.8rem;
}

/* Refined Dropdown Menu */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 240px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 10px 0;
    z-index: 1000;
    border: 1px solid var(--medium-gray);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown-content.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content li {
    margin: 0;
}

.dropdown-content li a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--dark-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-content li a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    color: var(--teal);
}

.dropdown-content li a:hover {
    background: rgba(43, 82, 216, 0.05);
    color: var(--orange);
    padding-left: 25px;
    border-left-color: var(--orange);
}

/* Only show dropdown on hover for desktop */
@media (min-width: 769px) {
    nav ul li.dropdown:hover .dropdown-content {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }
    
    nav ul li.dropdown:hover .dropdown-arrow {
        transform: rotate(180deg);
    }
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    background: url('../djj.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 180px 0 100px;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

.hero-buttons .btn {
    margin: 0 10px;
}

/* Clients Section */
.clients {
    background-color: var(--teal);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.clients h2 {
    color: white;
    margin-bottom: 2rem;
}

.client-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.client-logos span {
    font-size: 1.2rem;
    font-weight: 500;
    cursor: default;
    padding: 8px 16px;
    border-radius: 6px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.client-logos span:hover {
    border-color: var(--orange);
    color: var(--orange);
    transform: translateY(-3px);
    background-color: rgba(255, 128, 0, 0.08);
}

/* Updated Service Cards with Boxed Shape */
.services {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.services-grid.vertical {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card.vertical {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid #f0f0f0;
}

.service-card.vertical:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: var(--teal);
}

.service-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    border-bottom: 2px solid #f0f0f0;
}

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

.service-card.vertical:hover .service-image img {
    transform: scale(1.05);
}

.service-icon-middle {
    width: 80px;
    height: 80px;
    background: var(--teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    margin: 30px auto 15px;
}

.service-card.vertical:hover .service-icon-middle {
    background: var(--orange);
    transform: scale(1.05);
}

.service-content-vertical {
    padding: 20px 25px 25px;
    text-align: center;
    background: white;
    border-radius: 0 0 10px 10px;
}

.service-content-vertical h3 {
    margin-bottom: 15px;
    color: var(--dark-blue);
    font-size: 1.4rem;
}

.service-content-vertical p {
    color: var(--dark-gray);
    line-height: 1.6;
    font-size: 1rem;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: white;
}

.testimonial {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
    background-color: var(--light-gray);
    border-radius: 8px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.testimonial.visible {
    opacity: 1;
    transform: translateY(0);
}

.testimonial::before {
    content: '"';
    font-size: 5rem;
    color: var(--orange);
    position: absolute;
    top: -10px;
    left: 20px;
    line-height: 1;
}

.testimonial p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--orange), #ffaa44);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.cta h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Page Header */
.page-header {
    background-color: var(--dark-blue);
    color: white;
    padding: 150px 0 80px;
    text-align: center;
}

.page-header h1 {
    color: white;
}

/* About Section */
.about {
    padding: 100px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.expertise {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.expertise-item {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.expertise-item h3 {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.expertise-item h3 i {
    margin-right: 10px;
    color: var(--orange);
}

/* Services Detail */
.service-detail {
    padding: 100px 0;
}

.service-detail-header {
    text-align: center;
    margin-bottom: 60px;
}

.service-detail-content {
    max-width: 800px;
    margin: 0 auto;
}

.service-detail-item {
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.service-detail-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-detail-item h3 {
    margin-bottom: 1.5rem;
    color: var(--dark-blue);
}

.service-features {
    margin: 20px 0;
    padding-left: 20px;
}

.service-features li {
    margin-bottom: 10px;
    position: relative;
}

.service-features li:before {
    content: "•";
    color: var(--orange);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
}

.contact-details {
    margin: 30px 0;
}

.contact-details p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-details i {
    margin-right: 10px;
    color: var(--orange);
    width: 20px;
}

.contact-form {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--dark-blue);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: #ccc;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 20px 0;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 0;
        text-align: center;
        flex-direction: column;
    }
    
    nav ul li a {
        display: block;
        padding: 10px 0;
        justify-content: center;
    }
    
    .dropdown-arrow {
        margin-top: 5px;
    }
    
    .dropdown-content {
        position: static;
        box-shadow: none;
        background: var(--light-gray);
        border-radius: 0;
        padding: 0;
        border: none;
        opacity: 1;
        transform: none;
        display: none;
    }
    
    .dropdown-content.show {
        display: block;
    }
    
    .dropdown-content li a {
        padding-left: 40px;
    }
    
    .hamburger {
        display: block;
    }
    
    .services-grid.vertical {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .service-icon-middle {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .service-content-vertical {
        padding: 15px 20px 20px;
    }
}

/* Additional styles for service pages */
.service-hero {
    background: linear-gradient(135deg, var(--teal), var(--dark-blue));
    color: white;
    padding: 150px 0 80px;
    text-align: center;
}

.service-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    margin: 60px 0;
}

.service-benefits {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 10px;
}

.service-benefits h3 {
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.service-benefits ul {
    list-style: none;
}

.service-benefits li {
    padding: 10px 0;
    border-bottom: 1px solid var(--medium-gray);
    position: relative;
    padding-left: 25px;
}

.service-benefits li:before {
    content: "✓";
    color: var(--teal);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.service-process {
    margin: 60px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.process-step {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.process-step .step-number {
    width: 50px;
    height: 50px;
    background: var(--orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Testimonial Grid for service pages */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
}

.testimonial-card:before {
    content: '"';
    font-size: 4rem;
    color: var(--orange);
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
    opacity: 0.3;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: bold;
    color: var(--teal);
}

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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