/* DAC Holdings Website Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

/* Header Styles - Creative & Unique Design */
.header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 50%, #475569 75%, #64748b 100%);
    color: white;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 2px,
        rgba(255,255,255,0.02) 2px,
        rgba(255,255,255,0.02) 4px
    );
    animation: slidePattern 20s linear infinite;
}

@keyframes slidePattern {
    0% { transform: translateX(-50px); }
    100% { transform: translateX(50px); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border-radius: 0 0 20px 20px;
    margin-top: 10px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 2.2rem;
    font-weight: 900;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover {
    transform: translateY(-2px) scale(1.05);
    text-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.logo img {
    width: 42px;
    height: 42px;
    margin-right: 15px;
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255,255,255,0.3));
    transition: all 0.4s ease;
    animation: pulse 2s ease-in-out infinite alternate;
}

@keyframes pulse {
    from { filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255,255,255,0.3)); }
    to { filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(144,205,244,0.6)); }
}

.logo:hover img {
    transform: rotate(5deg) scale(1.1);
    animation: none;
    filter: brightness(0) invert(1) drop-shadow(0 0 25px rgba(144,205,244,0.8));
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #60a5fa, #34d399, #fbbf24);
    transition: width 0.5s ease;
}

.logo:hover::after {
    width: 100%;
}

/* Creative Navigation */
.nav {
    position: relative;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    background: rgba(0,0,0,0.2);
    border-radius: 50px;
    padding: 8px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1);
}

.nav li {
    position: relative;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: block;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav a::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.5s;
}

.nav a:hover::before {
    left: 100%;
}

.nav a:hover {
    color: #1e293b;
    background: linear-gradient(135deg, #60a5fa, #34d399);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(96,165,250,0.4);
    text-shadow: none;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #fbbf24;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav a:hover::after {
    width: 80%;
}

/* Mobile menu button (for responsive) */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(255,255,255,0.1);
    transform: scale(1.1);
}

/* Decorative elements */
.header-decoration {
    position: absolute;
    top: 0;
    right: 10%;
    width: 200px;
    height: 100%;
    background: radial-gradient(circle, rgba(96,165,250,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.header-decoration::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 20%;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(52,211,153,0.3);
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

.header-decoration::after {
    content: '';
    position: absolute;
    bottom: 30%;
    right: 50%;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(251,191,36,0.3);
    border-radius: 50%;
    animation: float 3s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 54, 93, 0.8), rgba(44, 82, 130, 0.8)), url('../images/hero-building.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background: #e53e3e;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.btn:hover {
    background: #c53030;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.4);
}

/* Main Content */
.main-content {
    padding: 4rem 0;
}

.section {
    margin-bottom: 4rem;
}

.section h2 {
    color: #1a365d;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.section h3 {
    color: #2c5282;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c5282;
    font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2c5282;
}

/* Footer */
.footer {
    background: #1a365d;
    color: white;
    text-align: center;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: #cbd5e0;
    text-decoration: none;
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2d3748;
    color: white;
    padding: 1rem;
    text-align: center;
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner p {
    margin-bottom: 1rem;
}

.cookie-banner .btn {
    margin: 0 0.5rem;
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        padding: 1rem 0;
    }
    
    .logo {
        font-size: 1.6rem;
    }
    
    .logo img {
        width: 35px;
        height: 35px;
    }
    
    .nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        border-radius: 0 0 20px 20px;
        padding: 20px;
        border-top: 1px solid rgba(255,255,255,0.1);
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-20px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .nav ul.active {
        display: flex;
    }
    
    .nav a {
        padding: 15px 20px;
        text-align: center;
        border-radius: 12px;
        margin: 5px 0;
    }
    
    .mobile-menu-btn {
        display: block;
        font-size: 1.8rem;
        background: rgba(96,165,250,0.2);
        border: 1px solid rgba(96,165,250,0.3);
        color: #60a5fa;
        padding: 8px 12px;
        border-radius: 12px;
    }
    
    .header-decoration {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
}

/* Legal Pages Styling */
.legal-content {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    color: #1a365d;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.legal-content h3 {
    color: #2c5282;
    margin: 2rem 0 1rem;
}

.legal-content p {
    margin-bottom: 1rem;
    text-align: justify;
}

.legal-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}