/* 
    Danwadaag Advisory LTD. - Global Styles
    Main Palette:
    Navy: #00204A
    Red: #E31B23
    Light: #F4F7FA
*/

:root {
    --navy: #00204A;
    --navy-light: #1A3B66;
    --red: #E31B23;
    --red-hover: #C4121A;
    --white: #ffffff;
    --light: #F4F7FA;
    --gray: #667085;
    --text: #1D2939;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container: 1200px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --glass: rgba(255, 255, 255, 0.9);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 8rem 0;
}

.bg-light { background-color: var(--light); }
.bg-navy { background-color: var(--navy); }
.text-white { color: var(--white); }
.text-red { color: var(--red); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; margin-bottom: 1rem; display: block; }

h1, h2, h3 {
    line-height: 1.2;
    font-weight: 700;
}

h1 { font-size: 3.5rem; margin-bottom: 1.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }

p { margin-bottom: 1.5rem; color: var(--gray); font-size: 1.1rem; }

a { text-decoration: none; transition: var(--transition); color: inherit; }

ul { list-style: none; }

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--red);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(227, 27, 35, 0.3);
}

.btn-primary:hover {
    background-color: var(--red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 27, 35, 0.4);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--navy);
    padding: 1rem 2.5rem;
    border: 2px solid var(--navy);
    border-radius: 50px;
    font-weight: 600;
    margin-left: 1rem;
}

.btn-secondary:hover {
    background-color: var(--navy);
    color: var(--white);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    background:#fff;
}

.navbar.scrolled {
    background: #fff;
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper img {
    height: 50px;
}

.nav-links a {
    margin-left: 2.5rem;
    font-weight: 500;
    font-size: 1rem;
}

.nav-links a:not(.btn-primary):hover {
    color: var(--red);
}

/* Hero Slider */
.hero-slider {
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.slider-container {
    height: 100%;
    position: relative;
}

.slides-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center !important;
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
    padding-top: 5rem;
}

.slide-content h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.slide-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    padding: 1.5rem 1rem;
    cursor: pointer;
    z-index: 10;
    font-size: 1.5rem;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.slider-nav:hover {
    background: var(--red);
}

.slider-nav.prev { left: 0; border-radius: 0 10px 10px 0; }
.slider-nav.next { right: 0; border-radius: 10px 0 0 10px; }

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--red);
    width: 30px;
    border-radius: 10px;
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* About Section */
.styled-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--navy);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    color: white;
    font-weight: 600;
    font-size: 1.5rem;
    opacity: 0.5;
}

/* Cards */
.card {
    padding: 3rem;
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-box.red { background: rgba(227, 27, 35, 0.1); color: var(--red); }
.icon-box.navy { background: rgba(0, 32, 74, 0.1); color: var(--navy); }
.icon-box svg { width: 30px; height: 30px; }

/* Hexagon Grid */
.hexagon-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
}

.hexagon-item {
    width: 180px;
    height: 200px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    transition: var(--transition);
    cursor: default;
}

.hexagon-item.red { background: var(--red); color: var(--white); }
.hexagon-item.navy { background: var(--navy); color: var(--white); }

.hexagon-item:hover {
    transform: scale(1.1);
    z-index: 2;
}

.hex-content .num {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    opacity: 0.6;
}

.hex-content p {
    font-size: 0.9rem;
    margin: 0;
    color: inherit;
    font-weight: 600;
    line-height: 1.2;
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--red);
    box-shadow: var(--shadow);
}

.service-icon {
    color: var(--red);
    margin-bottom: 1.5rem;
}

.service-icon svg { width: 40px; }

.service-card h3 { color: var(--navy); }

.service-card ul {
    margin-top: 1rem;
}

.service-card li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--gray);
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: "•";
    color: var(--red);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Methodology List */
.numbered-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    gap: 1rem;
}

.numbered-list span {
    background: var(--red);
    color: var(--white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Approach Visual */
.approach-visual {
    display: flex;
    justify-content: center;
}

.approach-stats-card {
    background: var(--navy);
    padding: 3rem;
    border-radius: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    box-shadow: 0 20px 40px rgba(0, 32, 74, 0.2);
    position: relative;
}

.approach-stats-card::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 20px;
    right: -20px;
    border: 2px solid var(--red);
    border-radius: 30px;
    z-index: -1;
}

.stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--red);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0;
}
.check-list li, .check-list-red li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--white);
    background: var(--navy-light);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.check-list-red li::before {
    content: ">";
    position: absolute;
    left: 0;
    color: var(--red);
    font-weight: 800;
}

/* Org Chart */
.org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4rem;
}

.node-box {
    background: var(--red);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: var(--shadow);
    text-align: center;
    min-width: 200px;
    transition: var(--transition);
}

.node-box:hover {
    transform: translateY(-5px);
    background: var(--navy);
}

.org-connector {
    width: 2px;
    height: 30px;
    background: var(--navy);
    opacity: 0.2;
}

.org-row {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.org-node-text {
    font-weight: 700;
    color: var(--navy);
    opacity: 0.5;
    text-transform: uppercase;
    font-size: 0.8rem;
}

/* Consultants Card */
.consultants-card {
    padding: 4rem;
    border-radius: 30px;
}

.consultants-card h3 {
    margin-bottom: 2rem;
    font-size: 2rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
}

.contact-details {
    margin-top: 2rem;
}

.detail-item {
    margin-bottom: 1.5rem;
}

.detail-item .label {
    display: block;
    font-weight: 600;
    color: var(--red);
    margin-bottom: 0.5rem;
}

.detail-item a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 20px;
}

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

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--white);
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
}

.success-msg {
    margin-top: 1rem;
    color: #4CAF50;
    font-weight: 600;
}

.hidden { display: none; }

/* Footer */
.footer {
    background: black;
    padding: 1rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    margin-left: 2rem;
    color: var(--gray);
}

/* Mobile Responsive */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--navy);
    border-radius: 3px;
    transition: var(--transition);
}

.menu-toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 991px) {
    h1 { font-size: 2.5rem; }
    .grid-2 { grid-template-columns: 1fr; gap: 3rem; }
    .contact-grid { grid-template-columns: 1fr; }
    
    .menu-toggle { display: flex; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        z-index: 999;
        display: flex;
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }

    .nav-links.active { right: 0; }

    .nav-links a {
        margin: 0 0 2rem 0;
        font-size: 1.2rem;
        font-weight: 600;
    }

    .nav-links .btn-primary { width: fit-content; }
    
    .hexagon-item { width: 140px; height: 160px; padding: 1rem; }
    .hex-content p { font-size: 0.8rem; }
}

@media (max-width: 768px) {
    .section-padding { padding: 4rem 0; }
    h2 { font-size: 2rem; }
    .navbar { padding: 1rem 0; background: var(--white); }
}
